Jump to content
kibaBG

[HELP] AI paradrop with Global Mobilization

Recommended Posts

Hi guys, I have a little problem with paradropping enemy AI. They open their parachutes fine but half of them die when touching ground. They are dropped (spawned) at 300m and parachute opening happens at 200m. Here is the code: 

_paraPos = (getPosATL DROPPLANE);
_paraPos set [2, 300];
PARAMEN = [_paraPos, EAST, [ 
"gm_gc_army_squadleader_mpiak74n_80_win", 
"gm_gc_army_rifleman_mpiak74n_80_win", 
"gm_gc_army_rifleman_mpiak74n_80_win", 
"gm_gc_army_machinegunner_lmgrpk74_80_win", 
"gm_gc_army_machinegunner_assistant_mpiak74n_lmgrpk74_80_win", 
"gm_gc_army_antitank_mpiak74n_rpg7_80_win", 
"gm_gc_army_antitank_assistant_mpiak74n_rpg7_80_win", 
"gm_gc_army_rifleman_mpiak74n_80_win", 
"gm_gc_army_rifleman_mpiak74n_80_win" 
]] call BIS_fnc_spawnGroup; 
PARAMEN deleteGroupWhenEmpty true;
{_x addBackpack "gm_backpack_t10_parachute"; 
} foreach units PARAMEN;
0 = _x spawn {
waitUntil {getPosATL _this select 2 < 200}; 
_x action ["openParachute"];
sleep 30;
};
_stalking = [PARAMEN,  group (allPlayers select 0)] spawn BIS_fnc_stalk;

     

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

×