GetThingTemplateCount
Returns the number of things in the level that use the given template. This number is updated during gameplay. Syntax:
num_things
=
GetThingTemplateCount(template);