#include "script_component.hpp" /* * Author: RedBery * Handles a unit leaving cardiac arrest (calls for a status update). * Clears countdown timer variables. * * Arguments: * 0: The Unit * * Return Value: * None * * Public: No */ params ["_unit"]; _unit setVariable [QGVAR(cardiacArrestTime), nil]; _unit setVariable [QEGVAR(medical,cardiacArrestStart), nil]; // Temporary fix for vitals loop on cardiac arrest exit _unit setVariable [QGVAR(lastTimeUpdated), CBA_missionTime]; [_unit, false] call EFUNC(medical_status,setCardiacArrest);