mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ _lootChance = getNumber (_config >> "lootChance");
|
||||
if ((random 1) < _lootChance) then {
|
||||
_iPos = _obj modelToWorld _x;
|
||||
_nearBy = nearestObjects [_iPos, ["ReammoBox","WeaponHolder","WeaponHolderBase"], 1];
|
||||
if (count _nearBy == 0) then {
|
||||
if (count _nearBy == 0) then {
|
||||
_index = dayz_CBLBase find _type;
|
||||
//diag_log format["Found %2 at index: %1", _index,_type];
|
||||
_weights = dayz_CBLChances select _index;
|
||||
|
||||
@@ -55,5 +55,4 @@ while {r_carry_sqf} do
|
||||
};
|
||||
sleep 0.1;
|
||||
};
|
||||
if (true) exitWith {};
|
||||
|
||||
|
||||
@@ -56,5 +56,4 @@ while {r_carry_sqf} do
|
||||
sleep 0.1;
|
||||
};
|
||||
_dragee playActionNow "Die";
|
||||
if (true) exitWith {};
|
||||
|
||||
|
||||
@@ -42,5 +42,3 @@ call fnc_usec_medic_removeActions;
|
||||
NORRN_dropAction = player addAction ["Drop body", "\z\addons\dayz_code\medical\drop_body.sqf",_dragee, 0, false, true];
|
||||
//NORRN_carryAction = player addAction ["Carry body", "\z\addons\dayz_code\medical\carry.sqf",_dragee, 0, false, true];
|
||||
sleep 1;
|
||||
|
||||
if (true) exitWith {};
|
||||
|
||||
@@ -29,6 +29,4 @@ _dragee setVariable ["NORRN_unit_dragged", false, true];
|
||||
//lie on back
|
||||
_dragee playMoveNow "ainjppnemstpsnonwrfldnon";
|
||||
norrnRalie = _dragee;
|
||||
publicVariable "norrnRalie";
|
||||
|
||||
if (true) exitWith {};
|
||||
publicVariable "norrnRalie";
|
||||
@@ -28,6 +28,4 @@ if ((_vcl emptyPositions "cargo") > 0) then
|
||||
|
||||
hint "No space left in vehicle";
|
||||
};
|
||||
NORRN_load_wounded_action = true;
|
||||
|
||||
if (true) exitWith {};
|
||||
NORRN_load_wounded_action = true;
|
||||
@@ -46,6 +46,4 @@ if (local _wounded) then
|
||||
_wounded playMove "BasicDriver";
|
||||
};
|
||||
};
|
||||
sleep 0.01;
|
||||
if (true) exitWith {};
|
||||
|
||||
sleep 0.01;
|
||||
@@ -32,6 +32,4 @@ for [{ _loop = 0 },{ _loop < count _crewVcl },{ _loop = _loop + 1}] do
|
||||
publicVariable "norrnRalie";
|
||||
};
|
||||
sleep 0.1;
|
||||
};
|
||||
|
||||
if (true) exitWith {};
|
||||
};
|
||||
@@ -49,5 +49,4 @@ if (local _wounded) then
|
||||
};
|
||||
};
|
||||
sleep 0.01;
|
||||
if (true) exitWith {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user