How to use the <CUSTOM> etiquettes from dialog.tlk?

#1

Hi, i wanted to know how to use the etiquettes that some lines have in dialog.tlk. I noticed that some lines looks like this:
"You are ignoring Party Invitations from <CUSTOM0> for a short time." "You may only have <CUSTOM0> <CUSTOM1> at a time."

1 Like
#2

set the value of <CUSTOMxxxx> by script before starting the dialog.

where xxxx is nCustomTokenNumber

// Set the value for a custom token.
void SetCustomToken(int nCustomTokenNumber, string sTokenValue);

since the numbers are arbitrary, be careful of causing conflicts (ie, don’t overwrite a token that was meant for something else). For example, start your custom tokens at something weird, say, 7000+

2 Likes