Sqvirel
Feb 24 2010, 08:23 AM
I'm trying to make some puzzles in RMVX and having a puzzle reset object would be a great help.For example, I'm making a puzzle where you have to push boxes to get to monsters behind them. There are 5 monsters in total and defeating each one adds 1 to "Monster" variable. When the variable reaches 5 the door open and I can continue with the dungeon. Now the problem is, it may be a problem when I push the boxes around the monster so it's not accesible anymore.One option then is to exit the room and enter again. That'll reset the puzzle but won't make the variable go down back to 0. I'd like to have that Reset crystal then (they are present in some games). How do I make one of those? Do I have to do a lot of scripting that moves each box into its original position or is it some easy way to do it?
BasharTeg6
Feb 24 2010, 08:48 AM
If leaving the map works, just transfer the player to another map and right back. While at the other map, set the variables back to zero before transferring the player back to the puzzle map.
Oh, you might want to fade the screen out before transferring (add a wait 30 frames too) so the player doesn't see the transfer taking place. Then fade the screen in again once they return to the puzzle map.