ACE3/addons/medical_treatment/functions/fnc_setTriageStatus.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

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];