mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
456 B
Plaintext
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); |