I'm trying to make an event where the player visits a set of floors randomly. Each time a floor is visited, a switch is turned on which prevents that floor from being selected again. (At least, that's how it's SUPPOSED to work). Here's what I'm having trouble with:
So, what's SUPPOSED to happen, is a floor is randomly selected. Then, the resulting number is compared against this set of conditional branches. If the switch for the selected floor number is ON, (the floor was already visited), it turns on a switch kicking the event to page 3. Page three is working perfectly. It just checks to see if EVERY random floor has already been visited, and if they have, it sends the player to a new destination. If it finds one floor that hasn't been visited yet, it turns off self switch B and turns back to this page, which SHOULD make it choose another random number and start the process again. The player should ONLY be transported to a random floor when a floor number is selected that corresponds to an "off" switch. However, I keep getting sent to previously visited floors, as if my conditional branches are being bypassed somehow. Anyone have any ideas? Please help ...
So, what's SUPPOSED to happen, is a floor is randomly selected. Then, the resulting number is compared against this set of conditional branches. If the switch for the selected floor number is ON, (the floor was already visited), it turns on a switch kicking the event to page 3. Page three is working perfectly. It just checks to see if EVERY random floor has already been visited, and if they have, it sends the player to a new destination. If it finds one floor that hasn't been visited yet, it turns off self switch B and turns back to this page, which SHOULD make it choose another random number and start the process again. The player should ONLY be transported to a random floor when a floor number is selected that corresponds to an "off" switch. However, I keep getting sent to previously visited floors, as if my conditional branches are being bypassed somehow. Anyone have any ideas? Please help ...