AI Heli Spawns

78043641

Well-Known Member
Ok so i made ai heli spawns (the static bandit ais work fine) when i add in a static heli patrol the heli is on the ground engine on but there are 0 AI in there.
Code:
//helipatrol2
_this = createMarker ["SAR_patrol_mainland2", [5111.7876 ,592.85651]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [500, 500];
SAR_marker_helipatrol_mainland2 = _this;
Code:
[SAR_marker_helipatrol_mainland2,floor(random 2)+1] call SAR_AI_heli;
 
I don't know where the ,floor(random 2)+1] is coming from, but I have this for that 2nd part:

[SAR_marker_helipatrol_mainland2,1,true] call SAR_AI_heli;

The 1 represents Soldiers (2 is for survivors and 3 for bandits) and TRUE represents that I want them to respawn if they are destroyed.
 
Last edited:
Back
Top