IsEssential - ActorBase

From Creation Kit
Jump to: navigation, search

Member of: ActorBase Script

Obtains whether this actor base is flagged as essential or not.

Syntax

bool Function IsEssential() native

Parameters

None.

Return Value

Whether this actor base is flagged as essential.

Examples

; Is the actor essential?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsEssential())
  Debug.Trace("Important person is essential")
endIf

See Also