ThingCount

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Counts the number of things of given spawn ID.

Usage[edit]

int ThingCount(int type, int tid)

Parameters[edit]

  • type: ACS spawn ID of things to count
  • tid: optional TID to filter by, if nonzero

Return value[edit]

The number of things by that criteria.

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: ACC internal.

See also[edit]