ACE3/addons/medical_gui/functions/fnc_handleTriageSelect.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

24 lines
494 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: mharis001
* Handles clicking the triage select buttons.
*
* Arguments:
* 0: Display <DISPLAY>
* 1: Target <OBJECT>
* 2: Triage status <NUMBER>
*
* Return Value:
* None
*
* Example:
* [DISPLAY, _target, 0] call ace_medical_gui_fnc_handleTriageSelect
*
* Public: No
*/
params ["_display", "_target", "_triageLevel"];
[_display] call FUNC(toggleTriageSelect);
[_target, _triageLevel] call EFUNC(medical_treatment,setTriageStatus);