Forum

> > CS2D > Scripts > Remove Placed Flare
Forums overviewCS2D overview Scripts overviewLog in to reply

English Remove Placed Flare

7 replies
To the start Previous 1 Next To the start

old Remove Placed Flare

Mami Tomoe
User Off Offline

Quote
Title says it all, I'd like to easily remove an already thrown/placed Flare from the map.

Thanks in advance.

old Re: Remove Placed Flare

ImCloudy
User Off Offline

Quote
I think freeprojectile console command should work.
Flare is id 54.
Not sure if placed flare is still a projectile, but should be.
If freeprojectile isn't working, then there's no other way how to do it, and you should mention it in thread where ideas are posted.
Good luck.

old Re: Remove Placed Flare

DC
Admin Off Offline

Quote
Yes, cs2d cmd freeprojectile should work.

Projectiles/grenades which are not flying anymore are called "ground projectiles". You get them with cs2d lua cmd projectilelist(1, PlayerID) - note the example in the command reference! Use cs2d lua cmd projectile to find the projectile with the right type.

old Re: Remove Placed Flare

Mami Tomoe
User Off Offline

Quote
When I do
lua print(freeprojectile)
, I get
nil
in return.





EDIT:

OHHH It's a console command not a function...

Epic gamer moments at 2AM with SlowPoke compilation: Episode 1


Further edit:
What is the RGB color of the addhook (blue) console text?
What is the RGB color of the text (gray) console output?
edited 2×, last 10.09.19 01:21:08 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview