Created
July 29, 2018 08:38
-
-
Save Dorbedo/b055e7622396db23ecfe4bb354340f43 to your computer and use it in GitHub Desktop.
ACE-medical CPR revive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["ace_medical_treatmentAdvanced_CPRLocal",{ | |
params ["_caller","_target"]; | |
if ((_target getVariable ["Ace_medical_inReviveState",false])&&{(random 1) >= 0.80}) then { | |
_target setVariable ["Ace_medical_inCardiacArrest",true,true]; | |
_target setVariable ["Ace_medical_inReviveState",false,true]; | |
}; | |
}] call CBA_fnc_addEventHandler; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment