ThingCountSector

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Counts all things from tagged sectors.

Usage[edit]

int ThingCountSector(int type, int tid, int tag)

int ThingCountNameSector(str type, int tid, int tag)

Parameters[edit]

  • type: ACS Spawn ID of things to count, if integer. Or thingtype name (Eternity or ZDoom style) if string.
  • tid: optional TID to filter them by
  • tag: sector tag of sectors to look in

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

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

See also[edit]