Deprecated/Slow Commands

Stop using them!
This commit is contained in:
icomrade
2014-05-27 15:03:53 -04:00
parent 88ded0f3c0
commit 774441ef45
39 changed files with 94 additions and 77 deletions

View File

@@ -50,7 +50,7 @@ fnc_usec_damageUnconscious = {
private["_veh","_unit"];
_veh = vehicle _this;
_unit = _this;
waitUntil{(((position _veh select 2 < 1) and (speed _veh < 1)) or (!r_player_unconscious))};
waitUntil{(((([_veh] call FNC_GetPos) select 2 < 1) and (speed _veh < 1)) or (!r_player_unconscious))};
if (r_player_unconscious) then {
_unit action ["eject", _veh];
waitUntil{((vehicle _this) != _this)};