Need Help With... :)

Basically, I want to create a cave (or caves) that have 'time stones' outside.

The time stones control the caves,

it has a % chance to make it 1 of 4 different caves (4 separate maps created)

(names not relevant)

50% for the Ice Cave

25% for the Fire Cave

15% for the Crystal Cave

10% for the Death Cave

(Dont need to be % based, could just be 1/4 chance to do this)

So it runs through the process when you click on the time stone

it triggers an event that randomly picks one of the switches associated with the transfer event page on the cave entrance

if it picks 

"ice cave" - turns the ice cave transfer page on the cave entrance 

"fire cave" - turns the fire cave transfer page on e.c.t. 

the reset on this is easy as I would make the time stone have 2 pages, once entrance is open, there will be a chest you need to open before the cave is reset (time stone page is put back to the 1/4 chance) rather than the "the time stone is currently active" page

not sure if this is scripting required or common events e.c.t. but any insight would be great! 🙂
If I'm understanding what you want correctly, than this should be fine just using an event. 🙂

Basically your event processing would just do a Control Variables operation to set a variable to a random number between 0 and 3. Then add four Conditional Branches after that, with the conditions set to each of the four outcomes (0 through 3). Put a transfer event in each of those Conditional Branches so that each number result will take you to a different cave. You can do some math to get the % probabilities that you want, but this is just the basic 1/4 chance example.

Hope it helps!
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


You don't need a script for this.


Next time, please use a meaningful topic title. We already know you need help with <something>, otherwise you wouldn't have posted in the help forums. That <something> should be a part of your thread title.


Time Stone event:

Control Variables [0001: Cave Probability] = Random(1-100)Cave Entrance event:
Page 1 has no conditions, and takes you to the Ice Cave


Page 2 is conditioned by Variable 1 being > 50, and takes you to the Fire Cave


Page 3 is conditioned by Variable 1 being > 75 (50 + 25), and takes you to the Crystal Cave


Page 4 is conditioned by Variable 1 being > 90 (50 + 25 + 15), and takes you to the Death Cave


The conditions are in the Page Conditions section, above the sprite, NOT in the event command list.


Easy as that 🙂
Ah, right. I read it like he wanted the stone to take him to the cave itself, but yes, if you want the cave entrance transfer event to be modified, that'll work.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with.25864/