Files
DayZ-Epoch/dayz_code/medical/epinephrine.sqf
vbawol 3c9df28ead 0.981 + 1.7.6.1 CE
+ Increased raise horde distance to 65m.
+ decreased raise horde action timer to 7 seconds.
+ sync with 1.7.6.1 CE
2013-02-26 20:05:35 -06:00

20 lines
519 B
Plaintext

// bleed.sqf
_unit = (_this select 3) select 0;
_isDead = _unit getVariable["USEC_isDead",false];
call fnc_usec_medic_removeActions;
player playActionNow "Medic";
player removeMagazine "ItemEpinephrine";
sleep 3;
if (!_isDead) then {
_unit setVariable ["NORRN_unconscious", false, true];
_unit setVariable ["USEC_isCardiac",false,true];
sleep 5;
//["usecEpi",[_unit,player,"ItemEpinephrine"]] call broadcastRpcCallAll;
usecEpi = [_unit,player,"ItemEpinephrine"];
publicVariable "usecEpi";
};
r_action = false;