SetInvulnerable - ActorBase

From the CreationKit Wiki
Revision as of 16:04, 14 December 2010 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ActorBase Script Sets or clears this actor's invulnerable flag. == Syntax == <source lang="papyrus"> Function S…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)

See Also[edit | edit source]