Jump to content
Sign in to follow this  
_BARNS_

deployin flares with artillery

Recommended Posts

Hey i try to deploy flares in an artillery script but the are not showing up, any ideas how to get it to work?

_K = _this select 0;

_Z = _this select 1;

_X = getPos _Z select 0;

_Y = getPos _Z select 1;

_K doWatch [_X,_Y,5000] ;

_A =_K Ammo "PRACS_m109_155mm_Gun";

~5

_K fire "PRACS_m109_155mm_Gun";

@ _A > _K Ammo "PRACS_m109_155mm_Gun";

~2

_N = nearestObject [_K,"PRACS_m109_155mm_Frag"];

_X = _X+((random 80)-40) ;

_Y = _Y+((random 80)-40) ;

_H = "HeliHEmpty" createVehicle [_X,_Y] ;

~1

_H say "ari";

~1

_N setPos [_X,_Y,200];

"FlareWhite_M203" createVehicle [_X,_Y,200] ;

deleteVehicle _H;

exit

thx alot for help

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  

×