Files
DayZ-Epoch/SQF/dayz_code/actions/openGear.sqf
2016-02-29 00:55:29 -05:00

11 lines
310 B
Plaintext

private ["_unit","_unconcious","_inVeh","_alive"];
call fnc_usec_medic_removeActions;
_unit = _this select 3;
_unconcious = _unit getVariable ["NORRN_unconscious", false];
_inVeh = vehicle player != player;
_alive = alive _unit;
if (_unconcious && !_inVeh && _alive) then {
player action ["Gear", _unit];
};