Skip to content

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 true

Example from HREK broken/1Flag_Boneyard.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.