SetEssential - ActorBase

Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ActorBase 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.

SyntaxEdit

Function SetEssential(bool abEssential = true) native

ParametersEdit

  • abEssential: Whether to set or clear this actor's essential flag.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Flag the Emperor as essential
EmperorBaseActorProperty.SetEssential()


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

See AlsoEdit