question regarding accessing variable values
Hey guys,
I was wondering if anybody knew if it was possible to initialize the value of a variable to a few letters plus a value that itself is stored in a different variable.
For example (the exact example I'm trying to do!), lets say that we're trying to keep track of the location of a character on an x and y grid. Variables currentx and currenty represent the characters current location, and I want to save, to an array, the value room(currentx)(currenty).. so assuming the character was on spot 13, I would want to save room13 to the array.
I hope I managed to explain that in a way that made sense.
Thank you for your time! Any thoughts are appreciated!