ACE3/addons/medical_gui/functions/fnc_setTriageStatus.sqf
2018-07-30 10:22:14 +01:00

22 lines
367 B
Plaintext

#include "script_component.hpp"
/*
* Author: Glowbal
* Set the triage status of object
*
* Arguments:
* 0: Target <OBJECT>
* 1: Status <NUMBER>
*
* Return Value:
* None
*
* Example:
* [bob, 2] call ACE_medical_menu_fnc_setTriageStatus
*
* Public: No
*/
params ["_target", "_status"];
_target setVariable [QEGVAR(medical,triageLevel), _status, true];