bool IsTIDUsed (int tid)
Returns whether any actors using the given TID exist. This is more efficient than ThingCount(tid, T_NONE), because it only needs to check for one actor with the TID and not all of them. It also makes no distinction between dead things and live things like ThingCount does.
- tid: Thing ID to check.
TRUE (1) if any actor using that TID exists, alive or dead; FALSE (0) otherwise.
|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. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|