object_set_invincibility
Description
Sets whether an object can take damage.
Parameters
<object> <boolean>
<name>— required operand{a|b|c}— choose one alternative[ … ]— optional clause
Example
megalo
action object_set_invincibility my_spawn trueExample from HREK broken/1Flag_Boneyard.txt.
Supported Versions
| Version | Supported |
|---|---|
| 49 | Yes |
| 73 | Yes |
| 106 | Yes |
| 107 | Yes |
| 107 (MCC) | Yes |
See also action syntax.