mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Fixed AI dropping from sky
This commit is contained in:
parent
f025ef53c4
commit
a648223a9d
@ -67,6 +67,10 @@ if (_this isEqualType []) then
|
|||||||
_gear = selectRandom _uniforms;
|
_gear = selectRandom _uniforms;
|
||||||
_unit forceAddUniform _gear; // Give the poor naked guy some clothing :)
|
_unit forceAddUniform _gear; // Give the poor naked guy some clothing :)
|
||||||
};
|
};
|
||||||
|
if (_missionName isEqualTo "BaseAttack") then
|
||||||
|
{
|
||||||
|
_unit addBackpack "B_Parachute";
|
||||||
|
};
|
||||||
_gear = selectRandom _headGear;
|
_gear = selectRandom _headGear;
|
||||||
_unit addHeadGear _gear;
|
_unit addHeadGear _gear;
|
||||||
_gear = selectRandom _vests;
|
_gear = selectRandom _vests;
|
||||||
@ -79,9 +83,6 @@ if (_this isEqualType []) then
|
|||||||
{
|
{
|
||||||
_gear = selectRandom _backpacks;
|
_gear = selectRandom _backpacks;
|
||||||
_unit addBackpack _gear;
|
_unit addBackpack _gear;
|
||||||
} else
|
|
||||||
{
|
|
||||||
_unit addBackpack "B_Parachute";
|
|
||||||
};
|
};
|
||||||
_gear = selectRandom _launchers;
|
_gear = selectRandom _launchers;
|
||||||
_unit addWeapon _gear;
|
_unit addWeapon _gear;
|
||||||
|
Loading…
Reference in New Issue
Block a user