Background for Fallout 4
Member of the ActorBase script
voidfunctionSetInvulnerable(boolabInvulnerable=true)Native

Description

Wiki Description

Sets or clears this actor's invulnerable flag.

Documentation Comment

Sets this actor as invulnerable or not


Caveats


Parameters

boolabInvulnerable=true

CK Wiki Description

Whether to set or clear this actor's invulnerable flag.

  • Default:True

Examples

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

Auto-Generated Example

bool myBool__abInvulnerable

myActorBase__toCallFunctionOn.SetInvulnerable(myBool__abInvulnerable)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.