This commit is contained in:
[VB]AWOL
2013-11-09 08:13:52 -06:00
parent ad992b97e6
commit 5fb3a0be15
9 changed files with 5 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ _lootChance = getNumber (_config >> "lootChance");
if ((random 1) < _lootChance) then { if ((random 1) < _lootChance) then {
_iPos = _obj modelToWorld _x; _iPos = _obj modelToWorld _x;
_nearBy = nearestObjects [_iPos, ["ReammoBox","WeaponHolder","WeaponHolderBase"], 1]; _nearBy = nearestObjects [_iPos, ["ReammoBox","WeaponHolder","WeaponHolderBase"], 1];
if (count _nearBy == 0) then { if (count _nearBy == 0) then {
_index = dayz_CBLBase find _type; _index = dayz_CBLBase find _type;
//diag_log format["Found %2 at index: %1", _index,_type]; //diag_log format["Found %2 at index: %1", _index,_type];
_weights = dayz_CBLChances select _index; _weights = dayz_CBLChances select _index;

View File

@@ -55,5 +55,4 @@ while {r_carry_sqf} do
}; };
sleep 0.1; sleep 0.1;
}; };
if (true) exitWith {};

View File

@@ -56,5 +56,4 @@ while {r_carry_sqf} do
sleep 0.1; sleep 0.1;
}; };
_dragee playActionNow "Die"; _dragee playActionNow "Die";
if (true) exitWith {};

View File

@@ -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_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]; //NORRN_carryAction = player addAction ["Carry body", "\z\addons\dayz_code\medical\carry.sqf",_dragee, 0, false, true];
sleep 1; sleep 1;
if (true) exitWith {};

View File

@@ -29,6 +29,4 @@ _dragee setVariable ["NORRN_unit_dragged", false, true];
//lie on back //lie on back
_dragee playMoveNow "ainjppnemstpsnonwrfldnon"; _dragee playMoveNow "ainjppnemstpsnonwrfldnon";
norrnRalie = _dragee; norrnRalie = _dragee;
publicVariable "norrnRalie"; publicVariable "norrnRalie";
if (true) exitWith {};

View File

@@ -28,6 +28,4 @@ if ((_vcl emptyPositions "cargo") > 0) then
hint "No space left in vehicle"; hint "No space left in vehicle";
}; };
NORRN_load_wounded_action = true; NORRN_load_wounded_action = true;
if (true) exitWith {};

View File

@@ -46,6 +46,4 @@ if (local _wounded) then
_wounded playMove "BasicDriver"; _wounded playMove "BasicDriver";
}; };
}; };
sleep 0.01; sleep 0.01;
if (true) exitWith {};

View File

@@ -32,6 +32,4 @@ for [{ _loop = 0 },{ _loop < count _crewVcl },{ _loop = _loop + 1}] do
publicVariable "norrnRalie"; publicVariable "norrnRalie";
}; };
sleep 0.1; sleep 0.1;
}; };
if (true) exitWith {};

View File

@@ -49,5 +49,4 @@ if (local _wounded) then
}; };
}; };
sleep 0.01; sleep 0.01;
if (true) exitWith {};