From ZDoom Wiki
Jump to navigation Jump to search

bool IsTIDUsed (int tid)


Returns whether any actors using the given TID exist. This is more efficient than ThingCount(T_NONE, tid), because it only needs to check for one actor with the TID and not all of them. It also makes no distinction between dead and live things like ThingCount does.


Return value

TRUE (1) if any actor using that TID exists, alive or dead; FALSE (0) otherwise.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.