SetInvulnerable - ActorBase

Member of: ActorBase Script

Sets or clears this actor's invulnerable flag.

SyntaxEdit

Function SetInvulnerable(bool abInvulnerable = true) native

ParametersEdit

  • abInvulnerable: Whether to set or clear this actor's invulnerable flag.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Flag the Emperor as invulnerable
EmperorBaseActorProperty.SetInvulnerable()


; Flag RedShirt as non-invulnerable
RedShirtBaseActorProperty.SetInvulnerable(false)

See AlsoEdit