IsInvulnerable - ActorBase

Member of: ActorBase Script

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

SyntaxEdit

bool Function IsInvulnerable() native

ParametersEdit

None.

Return ValueEdit

Whether this actor base is flagged as invulnerable.

ExamplesEdit

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

See AlsoEdit