Files
DayZ-Epoch/SQF/dayz_code/actions/openGear.sqf
ebaydayz 77e760fe73 Update private tags
From
e69f8d5306

Moved dog files to the \dog\ folder and pzombie files to the \pzombie\
folder. Also removed some legacy files that are no longer used.

The actions\ and compile\ folders are fully up to date now
2016-03-30 14:55:45 -04:00

12 lines
311 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];
};