SetInvulnerable - ActorBase
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ā¦')
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)