Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Darkstar22 on August 23, 2009, 06:35:45 PM

Title: Maze of Random Rooms
Post by: Darkstar22 on August 23, 2009, 06:35:45 PM
Hi, I don't know if anyone tried the demo yet or not because I've gotten no feed back anyways I would like to set up another forest maze later on but make it it that much more difficult I thought I could  make it where the room you enter will never be the same pattern it will just be a set of 10 random rooms you could end up in the same room twice or not at all I know it would require the the varible system but how would I get to teleport to random room with in the parimeters?
Title: Re: Maze of Random Rooms
Post by: Prpl_Mage on August 24, 2009, 06:27:20 AM
I think this would be easy.

At the teleport events - add a "Variable operations"-thingy and have a variable set to a number between 0-#(depending on the ammount of rooms).
Next create conditional branches.
Each branch checks each number(0-#).
If the variable is 0 - teleport to room 1, if it is 1 - room 1, value 2 - room 2 ect.