IsInvulnerable - ActorBase

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

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