2015-08-06 21:51:17 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Set the triage status of object
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Target <OBJECT>
|
|
|
|
* 1: Status <NUMBER>
|
|
|
|
*
|
|
|
|
* Return Value:
|
2015-08-07 03:37:41 +00:00
|
|
|
* None
|
2015-08-06 21:51:17 +00:00
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [bob, 2] call ACE_medical_menu_fnc_setTriageStatus
|
|
|
|
*
|
2015-08-06 21:51:17 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-08-07 03:37:41 +00:00
|
|
|
params ["_target", "_status"];
|
2015-08-06 21:51:17 +00:00
|
|
|
|
2015-11-30 16:27:09 +00:00
|
|
|
_target setVariable [QEGVAR(medical,triageLevel), _status, true];
|