Variables Not Working
Hi there,
I am having a heck of a time with simple variables not behaving according to the documentation.
My understanding is I should be able to set a variable in a naninscript using @set command. So I do so based on a user choice of picking between two characters.
I use @set PICKDANI=true (if they picked Dani). Doing so results in an error that the custom variable doesn't exist, but i should be able to create variables without predefining them in custom variables config menu according to documenation. Even the error says "make sure to initialize with @set command or via custom variables menu."
Regardless, even if i do predefine the variable, and I set its default value to false, when I encounter the @set command in script to change the variable to true, it doesn't stick, as confirmed by variables debug menu at runtime. So two problems: 1, i can't create variables at script level without error message saying the variable doesn't exist, and 2: if I do predefine the variable, I can't seem to then change the value in the script. Any help would be much appreciated, Elringus or anyone else!