mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Update some WeaponHolder to WeaponHolderBase
This commit is contained in:
@@ -10,7 +10,7 @@ if (count _this > 2) then {_lifecheck=_this select 2};
|
||||
|
||||
_int = _int min 3;
|
||||
|
||||
if (!((_v isKindOf "Air")||{((_v isKindOf "LandVehicle")||{(_v isKindOf "Ship")})})) exitWith {};
|
||||
if (!((_v isKindOf "Air")OR{((_v isKindOf "LandVehicle")OR{(_v isKindOf "Ship")})})) exitWith {};
|
||||
|
||||
_effect2pos = _v selectionposition "destructionEffect2";
|
||||
|
||||
@@ -23,5 +23,5 @@ while {_int>1} do
|
||||
{
|
||||
uiSleep _x;
|
||||
if((_lifecheck&&(alive _v))||(isnull _v)||(((getposASL _v)select 2)<0))exitwith{};
|
||||
createVehicle ["SmallSecondary", (_v modelToWorld _effect2pos), [], 0, "CAN_COLLIDE"];
|
||||
}forEach(_list);
|
||||
"SmallSecondary" createvehicle(_v modelToWorld _effect2pos);
|
||||
}foreach(_list);
|
||||
Reference in New Issue
Block a user