mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
250 B
Plaintext
15 lines
250 B
Plaintext
|
/*
|
||
|
* 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]
|