You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_AntiAirCrafty = round(random 400) -200 + (getPosAsl _x select 1); // These 2 snippets select the random point. Change "400" to your diameter around the unit, and "-200" to -1/2 that.
_firetarget = [_AntiAirCraftx,_AntiAirCrafty,200]; //this creates the target for them to fir at "200" is the altitude, can change.
_x setVehicleAmmo 1; //ensures that units don't run out of ammo
_x doSuppressiveFire _firetarget; //makes them fire
uisleep 2; // Makes it slowly cycle through all AA cannons so they're not constantly getting new targest. Set to approx number of items in array/15