I have been working on a plants versus zombies game and the variables have become a real problem. Every time I save and quit when I reopen the project the variables stop functioning correctly. I have to take out the 'Set Where to go? to 1' and replace it. I have to do this to every variable and it takes about thirty minutes to to it!
Does anybody else have this problem and know how to fix it?
Offline
Make this script for each sprite you want to set to one( and this should be in help with scripts)
When gf clicked Set [where to go to] to [1]Im not sure if by "1" you were talking about location or a variable. If its location and say perhaps you want to go to the middle of the screen, do this.
When gf clicked Go to x [0] y [0]You can change the location by changing the coordinates.
Last edited by turkey3 (2012-03-08 15:07:22)
Offline