<aside> 📦 DTADD.acs

</aside>

<aside> âš¡ void DefineReservedTID(int tid)

</aside>

Usage


[core_uniquetid](<https://mm8bdm.notion.site/core_uniquetid-11b52269a2ac4543a5ea826465deed46>) is a script that will return to the caller a long-term, unique TID value that can be used for ACS operations. However, for that to be a guaranteed unique, long-term TID, it has to check through a list of reserved TID values.

This function is used to add specific TIDs to that list of reserved ones, which can also be seen by using the debug scripts, [core_checktid](<https://mm8bdm.notion.site/core_checktid-e03d4b4d18934ca3928f7dce474e66e9>) and [core_logtids](<https://mm8bdm.notion.site/core_logtids-b7a531142215472e84a6febfe410815f>).

Parameters

Example


Base MM8BDM reserves TID 999 for actors that should color change alongside the player. It would not be good if an actor got tried getting a unique TID and got 999, hence we reserve it and block it from giving such.

DefineReservedTID(999); // Mirror console player's translation

See Also


DefineReservedTIDRange

core_uniquetid