<aside> 📦 DTADD.acs

</aside>

<aside> âš¡ int DefineTranslation(int id)

</aside>

Usage


Sometimes it can be useful to use the actual CreateTranslation call from Zandronum to translate an entire scale of colors, however, it is still good practice to want to let other modders know what translation IDs you’re using.

In that case, you can nest a DefineTranslation call into your CreateTranslation call. Check out the example below for how or why you’d want to do this.

Parameters

Return Value

Example


This is the ice death translation defined in MM8BDM. Note how the DefineTranslation is nested as the ID field for CreateTranslation. This is why this set of functions return the ID that they’re given as a parameter.

CreateTranslation (DefineTranslation(CLR_ICEDEATH), 192:192=4:4, 198:198=201:201, 5:8=72:72, 243:247=72:72, 208:215=4:4);

See Also


CreatePlayerTranslation

CreatePlayerTranslationGlow