IsEssential - ActorBase
Jump to navigation
Jump to search
Member of: ActorBase Script
Obtains whether this actor base is flagged as essential or not.
Syntax[edit | edit source]
bool Function IsEssential() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
Whether this actor base is flagged as essential.
Examples[edit | edit source]
; Is the actor essential?
ActorBase PersonBase = ImportantPersonProperty.GetBaseObject() as ActorBase
if (PersonBase.IsEssential())
Debug.Trace("Important person is essential")
endIf