IsTIDUsed
From Eternity Wiki
Jump to navigationJump to search
Description[edit]
This is an ACS built-in function.
Returns 1 if any thing with tag tid exists in the level.
Usage[edit]
Boolean IsTIDUsed(int tid)
Parameters[edit]
- tid: TID to check
Return value[edit]
TRUE if a thing with given TID exists.
Examples[edit]
No examples given.
Notes[edit]
It doesn't matter if such tagged things are dead or alive. This works for any special values for TID, so for example you can check if player 2 is present in the game by checking IsTIDUsed(-2). See the TID definition for details.
This function's identification in zspecial.acs is: -47.