Mod:Creation Kit/SetEssential - Actor

Member of: Mod:Creation Kit/Actor Script

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. This works on an individual actor, not the Actor Base.

Syntax
Function SetEssential(bool abEssential) native

Parameters

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

Return Value
None.

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