SetInvulnerable - ActorBase
Jump to navigation
Jump to search
Member of: ActorBase Script
Sets or clears this actor's invulnerable flag.
Syntax[edit | edit source]
Function SetInvulnerable(bool abInvulnerable = true) native
Parameters[edit | edit source]
- abInvulnerable: Whether to set or clear this actor's invulnerable flag.
- Default: True
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Flag the Emperor as invulnerable
EmperorBaseActorProperty.SetInvulnerable()
; Flag RedShirt as non-invulnerable
RedShirtBaseActorProperty.SetInvulnerable(false)