ACE3/addons/medical_menu/functions/fnc_setTriageStatus.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

22 lines
367 B
Plaintext

/*
* 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
*/
#include "script_component.hpp"
params ["_target", "_status"];
_target setVariable [QEGVAR(medical,triageLevel), _status, true];