Posted May 15, 2021 by Hakuen Studio
Now there are two new special escape codes, that needs a better explanation:
I had to create a new one, because if you use the older like below, it will not properly eval the code:
\Eval[ $gameParty.members()[0].name() ]
Because there is another bracket character in the formula "[0]"
So now, you can use this one instead:
Example:
NOTE²: The old one was not removed.
?{condition ? result1 : result2}? - This is a conditional message.
If the condition is true, then it will return result1. Otherwise, result 2.
Example:
?{$gameVariables.value(1) > 0 ? Is greater than zero : Is less than zero}?
If the variable 1 is higher than 0, it will return the message "Is greater than zero".
Otherwise, it will return the message "Is less than zero". The only thing you should now about these two, is that you cannot use a formula together with a escape code. If you use, the text will not convert properly:
?{$gameVariables.value(1) > 0 ? scriptCall \v[1] : scriptCall \i[34]}?
=|scriptCall \i[24]|=