So, I've been trying to make a game with mechanics similar to what happens in the Mystery Dungeon games. Right now I'm trying to make it so when you taken 500 steps total in one of the floors in a dungeon, it kicks you out and you need to start over from the first floor.
I got two variables: One for the steps and the other is for how many you have left.
The main problem I am having is that I can't seem to figure out the scripting part of this. Every time I think I figured it out, the second variable just continues to decrease despite the player not moving. Here is my code so far. I don't know what I am doing wrong.
I got two variables: One for the steps and the other is for how many you have left.
The main problem I am having is that I can't seem to figure out the scripting part of this. Every time I think I figured it out, the second variable just continues to decrease despite the player not moving. Here is my code so far. I don't know what I am doing wrong.