Jump to content
Sign in to follow this  
frag

How to create a flare in the sky ...

Recommended Posts

Hi guys,

in arma 2 I was able to create a flare in the sky like this : "FlareRed" createvehicle[_cx, _cy, _cz+150]

where _cx, _cy and _cz where in fact my position.

I was not able to do it in Arma3 ... what is the class name for lighted flares!!!??

---------- Post added at 02:07 ---------- Previous post was at 01:55 ----------

Nevermind found it!!!

"F_20mm_Red" createvehicle[_cx, _cy, _cz+150]

You also have the choice of yellow, green and white ...

Share this post


Link to post
Share on other sites

There is also a 40mm version, the only thing I dont like about the flare script is the flare is stuck in the sky and does not move. If you fire it from a launcher it moves.

Share this post


Link to post
Share on other sites
a short question. Where do u place this to activate?

brgds

Longi

Now I've not tried this but I'm pretty sure you can put it in a trigger or gamelogic. For a trigger just change "this" to "true" to make it fire at the start of the mission.

Share this post


Link to post
Share on other sites

no success. Used a trigger and gamelogic, nothing works as expected. I think i overlooked something.....

Share this post


Link to post
Share on other sites

I also noticed this. Is there a way to have unit to shot it by script?

Share this post


Link to post
Share on other sites

Almost there - you need to give the flare some movement:

flrObj = "F_20mm_Red" createvehicle ((player) ModelToWorld [0,100,200]); 
flrObj setVelocity [0,0,-10];

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Almost there - you need to give the flare some movement:

flrObj = "F_20mm_Red" createvehicle ((player) ModelToWorld [0,100,200]); 
flrObj setVelocity [0,0,-10];

Thanks

  • Like 1

Share this post


Link to post
Share on other sites

Thanks guys... One more toy to play with.

Share this post


Link to post
Share on other sites

I owe you a cold one with this!!!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×