mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
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
12 lines
311 B
Plaintext
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];
|
|
}; |