GetDeadCount - ActorBase

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ActorBase Script

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

Syntax[edit | edit source]

int Function GetDeadCount() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]