I didn't find anything on this so....
I'm making a little script. I need to know if it's possible to call a variable through its name instead of it's ID.
E.G.
Instead of
Something like
So that the script does not need to be edited by everybody who uses it so that it works with a higher variable than I set. So that they can just name the variable to something, and it'll find that variable's name and work from that.
I'm making a little script. I need to know if it's possible to call a variable through its name instead of it's ID.
E.G.
Instead of
Code:
$game_variables[ID]
Something like
Code:
$game_variables[VARIABLE NAME]
So that the script does not need to be edited by everybody who uses it so that it works with a higher variable than I set. So that they can just name the variable to something, and it'll find that variable's name and work from that.