Background for Fallout 4
Member of the ActorBase script
voidfunctionSetEssential(boolabEssential=true)Native

Description

Wiki Description

Sets or clears this actor's essential flag. If the actor is protected and you set the essential flag, the protected flag will be removed.

Documentation Comment

Sets this actor as essential or not - if set as essential, will UNSET protected


Caveats


Parameters

boolabEssential=true

CK Wiki Description

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

  • Default:True

Examples

; Flag the Emperor as essential
EmperorBaseActorProperty.SetEssential()
; Flag RedShirt as non-essential
RedShirtBaseActorProperty.SetEssential(false)

Auto-Generated Example

bool myBool__abEssential

myActorBase__toCallFunctionOn.SetEssential(myBool__abEssential)

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.