Variable and TextInput issue
Posted: Mon Sep 23, 2019 1:57 am
I have this weird bug where I'm changing one variable using User Input and it affects another variable instead.
Block1
TextInput(Text Field UI, Test-1, Test1);
*Inputs "Kakima"
Block2
Dialogue: Your input is [lua(Actor["MainPlayer"].Test1)]
Script: Actor["MainPlayer"].Test1= Variable["Test1"]
Expected Output: Your input is Kakima
Current Output: Your input is
Block3
TextInput(Text Field UI, Test-2, Test2);
~Kakima appears in input field instead of Test-2
*Inputs AAAAA
Block4
Dialogue: Your input is [lua(Actor["MainPlayer"].Test2)]
Script: Actor["MainPlayer"].Test1= Variable["Test1"]
Expected Output: Your input is AAAAA
Current Output: Your input is
Block1
TextInput(Text Field UI, Test-1, Test1);
*Inputs "Kakima"
Block2
Dialogue: Your input is [lua(Actor["MainPlayer"].Test1)]
Script: Actor["MainPlayer"].Test1= Variable["Test1"]
Expected Output: Your input is Kakima
Current Output: Your input is
Block3
TextInput(Text Field UI, Test-2, Test2);
~Kakima appears in input field instead of Test-2
*Inputs AAAAA
Block4
Dialogue: Your input is [lua(Actor["MainPlayer"].Test2)]
Script: Actor["MainPlayer"].Test1= Variable["Test1"]
Expected Output: Your input is AAAAA
Current Output: Your input is