I am trying to make a puzzle, where there is a maze and a fireball. It moves through the maze, and after it moves, you are supposed to go through the EXACT same path the fireball moved through. If you go on a part that the fireball did NOT move on, you will fail and have to start over. Also, if you forget how it moved, you will be able to replay the fireball's movement.
How can I do this scenario?
Hmm this sounds like this just needs alot of eventing. Have you tried making an event yourself? I don't know about replaying the fireball's movement unless you're willing to keep track of and use alot of switches. With the player failling part, I would just have a event were if the player touches it it transfers them back to the beginning.
I would set regions on either side of the fireballs path or anywhere that the player isn't suppose to move. Then make it so that if the character stepped on that region he'd fail, etc.
The fireball should be simple, assuming it's the same every time -- just use "move route" and have a button to replay it (first line of the event should be setting the location to the beginning of the maze). Maybe do a parallel process where the end sets "fireball = off", then have the button turn it back on to repeat.
Then, as Anruth said, use region codes for the player.
I'm confused, what the hell are you people telling the OP lol, forget all that, this should be simple.
All you have to do is set an event(aka with the fireball graphic), and have it move via move route. Then on every cell bordering the path that the char is suppose to walk, set it to touch, and teleport(or whatever failing entails) the char back to the area of the map where the char started, done.
Zoltor, that would require putting an event on EVERY cell the player might touch, whereas region codes can simply be "painted" on, and controlled with a single event.
Bowser, region codes are next to the event button in the editor, or just hit F7. Look up a tutorial for how to use them -- Shaz wrote a "sliding puzzle" tutorial that uses them in a similar way.
I use regions painted over pit areas to trigger the player to fall in the pit, and regions along side the pit to save the player location for when he uses the grappling hook to climb out.
Regionscan be scripted to do almost anything. I've only had RPG for about a month and a half but from what I'm seeing regions are a powerful tool.
Basicly, use a parallel event on the map to check if the player is on a region then script whatever you want.