Hi everyone
Would like to know if it is possible to store text control character like \C[2]\P[1]\C[0] in a variable and then recall that variable in a text window?
For an example, I have an NPC with a text window that contains, Welcome back \V[2].
Then there is a common event on parallel that set variable 1 to the actor id of party member #1. then it uses conditional branches to determine what value variable 2 should have. Variable 2 is set using the option scrip with "\\C[2]\\P[1]\\C[0]"
Yet the NPC displays when you talk to him: Welcome back \C[2]\P[1]\C[0]". instead of Welcome back Harold.
I know that the common event sets the variable correctly because when i change actor the displayed variable content changes.
I don’t have any plugins active.
Is this even possible what I want to do? If yes, what am I doing wrong? If no, is there a plugin and if so any recommendations?
Kind regards
Would like to know if it is possible to store text control character like \C[2]\P[1]\C[0] in a variable and then recall that variable in a text window?
For an example, I have an NPC with a text window that contains, Welcome back \V[2].
Then there is a common event on parallel that set variable 1 to the actor id of party member #1. then it uses conditional branches to determine what value variable 2 should have. Variable 2 is set using the option scrip with "\\C[2]\\P[1]\\C[0]"
Yet the NPC displays when you talk to him: Welcome back \C[2]\P[1]\C[0]". instead of Welcome back Harold.
I know that the common event sets the variable correctly because when i change actor the displayed variable content changes.
I don’t have any plugins active.
Is this even possible what I want to do? If yes, what am I doing wrong? If no, is there a plugin and if so any recommendations?
Kind regards