IsEssential - ActorBase

Revision as of 17:02, 14 December 2010 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See AlsoEdit