/* * Author: Zakant * Handles the failure of the CPR treatment. * * Arguments: * 0: The medic * 1: The patient * * Return Value: * None * * Public: No */ #include "script_component.hpp" params ["_caller", "_target"]; if (!(_target call EFUNC(common,isAwake)) || {IN_CRDC_ARRST(_target)}) then { _target setVariable [VAR_HEART_RATE, 0, true]; }; _target setVariable [QGVAR(receiveCPR), false, true]; [_target] call FUNC(calculateBlood);