ACE3/addons/medical/functions/fnc_setTriageStatus.sqf
2015-01-18 22:16:35 +01:00

21 lines
456 B
Plaintext

/**
* fn_setTriageStatus.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
#include "script_component.hpp"
private ["_unit","_caller","_type","_activity","_status"];
_unit = _this select 0;
_status = _this select 1;
if (!local _unit) exitwith {
[_this, QUOTE(FUNC(setTriageStatus)), _unit] call EFUNC(common,execRemoteFnc);
};
[_unit,QGVAR(triageLevel),_status] call EFUNC(common,setDefinedVariable);