mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
23 lines
690 B
Plaintext
23 lines
690 B
Plaintext
// bleed.sqf
|
|
|
|
private ["_unit","_isDead"];
|
|
_unit = (_this select 3) select 0;
|
|
_isDead = _unit getVariable["USEC_isDead",false];
|
|
call fnc_usec_medic_removeActions;
|
|
[1,1] call dayz_HungerThirst;
|
|
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;
|
|
//DayZ CE: Has been changed to PVC via server_sendToClient.sqf -> Could we also do here - Commit by Skaronator
|
|
usecEpi = [_unit,player,"ItemEpinephrine"];
|
|
publicVariable "usecEpi";
|
|
};
|
|
|
|
r_action = false; |