GetDeadCount - ActorBase

Member of: ActorBase Script

Obtains the number of actors using this actor base that are dead.

SyntaxEdit

int Function GetDeadCount() native

ParametersEdit

None.

Return ValueEdit

The number of actors that use this actor base that are dead.

ExamplesEdit

; Have we killed 10 archers?
if (ArcherBase.GetDeadCount() >= 10)
  Debug.Trace("10 or more archers are dead")
endIf

See AlsoEdit