mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
22 lines
382 B
Plaintext
22 lines
382 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Glowbal
|
|
* Sets the traige status of the given unit.
|
|
*
|
|
* Arguments:
|
|
* 0: Unit <OBJECT>
|
|
* 1: Status <NUMBER>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player, 2] call ace_medical_treatment_fnc_setTriageStatus
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_unit", "_status"];
|
|
|
|
_unit setVariable [QEGVAR(medical,triageLevel), _status, true];
|