ACE3/addons/medical_status/functions/fnc_getPainTotal.sqf

15 lines
250 B
Plaintext
Raw Normal View History

2017-04-27 16:53:49 +00:00
/*
* Author: BaerMitUmlaut
* Get the total pain level of a unit.
*
* Arguments:
* 0: The Unit <OBJECT>
*
* Return Value:
* Pain level (0 .. 1) <NUMBER>
*/
#include "script_component.hpp"
params ["_unit"];
_unit getVariable [QGVAR(pain), 0]