object_get_health
Description
Reads an object's current health into an out-variable.
Parameters
<object> <vitality_out (percent)>
<name>— required operand{a|b|c}— choose one alternative[ … ]— optional clause
Example
megalo
action object_get_vitality current_object helfExample from HREK broken/1Flag_Boneyard.txt.
Supported Versions
| Version | Supported |
|---|---|
| 49 | No |
| 73 | Yes |
| 106 | Yes |
| 107 | Yes |
| 107 (MCC) | Yes |
See also action syntax.