IsInvulnerable - ActorBase

From Creation Kit
Jump to: navigation, search

Member of: ActorBase Script

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

Syntax

bool Function IsInvulnerable() native

Parameters

None.

Return Value

Whether this actor base is flagged as invulnerable.

Examples

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

See Also