Jump to content
Sign in to follow this  
dragonsyr

spawn flares fired how?

Recommended Posts

i try to spawn a flare deployed (like smokeshell do), my problem is that when i use F_40mm_Green , it burns but stay 20 meters in the air .no move no drop .

when i use any smokeshel or Chemlights_ working as expected (freefall from the height i want to the ground)

UGL_FlareGreen_F , FlareGreen_F , 2Rnd_GBU12_LGB , i get nothing . no visible object , no explosions ,

this is the command i use . 20 is the height above the target i want.

_helitarget = mytarget;
_flareType = "F_40mm_Green";
_flare = _flareType createVehicle [getPos _helitarget select 0, getPos _helitarget select 1,20];

Edited by dragonsyr

Share this post


Link to post
Share on other sites

Here's how I spawn a flare at the player's general position. Use setVelocity to give it a gentle push down. Hope that helps.

_flarePos = [player, random 100, random 360] call BIS_fnc_relPos;
_flare = createVehicle ["F_20mm_Red", _flarePos, [], 0, "NONE"];
_flare setPosATL [getPosATL _flare select 0, getPosATL _flare select 1, 150 + (random 75)];
_flare setVelocity [0,0,-0.1];

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  

×