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.
- tid: the 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 contributions are greatly appreciated.|