SO I'm trying to create a simple save game function that will allow me to reload to a different point in my game if needs be. It will allow the player to load not only to a previous layout, but to load up the X and Y positions of the 3 characters at the time of the save.
I've included a simple .capx file so you can see what I'm trying to do. The controls are as follows :
Spacebar - Toggles between the three players
C - Jumps to the next layout
S - Saves Game
L - Loads Game
The problem I'm facing at the moment is that when I load up the save game file, it just resets the layout to how it is at the start, not taking into account the X and Y positions. If I disable the first command in the Load function, then it works, but doesn't allow me to load up a different layout.
Sorry for the long description, and thanks for any help you can give me.
dl.dropbox.com/u/108799982/SaveLayoutArray.capx