IsEssential - ActorBase
Member of: ActorBase Script
Obtains whether this actor base is flagged as essential or not.
SyntaxEdit
bool Function IsEssential() native
ParametersEdit
None.
Return ValueEdit
Whether this actor base is flagged as essential.
ExamplesEdit
; Is the actor essential?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsEssential())
Debug.Trace("Important person is essential")
endIf