ThingCountName

From Eternity Wiki
Revision as of 02:52, 10 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Counts all things by name and possibly TID. |usage=''int'' '''ThingCountName'''(''str type'', ''int tid'') |parameters= *''type'': name of thing (both Eternity and ZDoom-style names are supported) *''tid'': optional TID to filter by |id=ACC internal}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Counts all things by name and possibly TID.

Usage[edit]

int ThingCountName(str type, int tid)

Parameters[edit]

  • type: name of thing (both Eternity and ZDoom-style names are supported)
  • tid: optional TID to filter by

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]