How can I make rougelike random teleports for my game

Hi,

I am working on a rougelike in rpg similar to the binding of issac. I’ve looked through 3-4 different threads and watched as many videos as I can and I still have no idea how to do this. Basically I’m trying to make teleports that take you to a random next room. I was hoping someone could help me with this

SCREENSHOTS WOULD BE GREATLY APPRECIATED
basically you use control variable to get random numbers and then transfer to those variable coordinates.
you just have to design your maps in a way that the target of the variables is always a passable part of the map. And that is not something you can show in screenshots as it is design and mathematics.
You can have an event at the start of the game which generates a bunch of values which can then be used to determine the which room should the player be transfered to.
It would be advised that the event that generates the values is on a map that can be accessed only once when you start a new game.
Here's a couple of screenshots which may help, the first 2 screenshots are of the generator event, the second is an event which you will add wherever you want a player transfer to happen.

Spoiler: Event Screenshots
Screenshot_94png.png
Screenshot_95png.png
Screenshot_96png.png
Just as an aside...please, it's "rogue" 😛
Thanks so much guys really appreciate it.
Just as an aside...please, it's "rogue" 😛
Maybe they reaaaaaaally like red makeup xD
Hey so a couple questions. 1. For your third screenshot you used the ”if” command I have no idea how to find it, I look through the entire event command list and I don’t see a “if” command. 2. Is there a certain place I should put the commands from the first 2 screenshots? I put mine here

IMG_1883.png
IMG_1884.png
Please post actual screenshots from your computer - it's difficult for other people to make out stuff from a cell phone picture of a monitor.

If you're not sure how, you can easily look it up:

"If" is produced by the event command Conditional Branch.

You may want to step back and do some additional tutorials, focusing on eventing; manipulating variables and using conditionals are probably the most basic commands in RPG Maker.
Hey so a couple questions. 1. For your third screenshot you used the ”if” command I have no idea how to find it, I look through the entire event command list and I don’t see a “if” command. 2. Is there a certain place I should put the commands from the first 2 screenshots? I put mine here
Ninja'd by ATT here
Hey uh for some reason I can’t walk. When I boot up the game I stay frozen and can’t move. btw thanks for the screen recording software really appreciate it
Hey uh for some reason I can’t walk. When I boot up the game I stay frozen and can’t move. btw thanks for the screen recording software really appreciate it
You have to be careful with autorun events as they can cause this if not used properly.
You can see that in the event which generates the random values there's 2 pages, you can create a page by clicking on the "New Event Page".
And on the second page you just check the "Self Switch" box so that the event doesn't do anything anymore.
Like ATT_Turan has suggested it would probably be advised to get a bit more familiar with RPG Maker by looking up tutorials and experimenting more yourself.
I will still post a couple of screenshots to help you better understand what i'm talking about:

Spoiler: Event Screenshots
Screenshot_97png.png
Screenshot_98png.png
Thank you very much🙂

Hey guys sorry to be bothering you so much I’ve been watching some tutorials on event commands and the autorun feature. basically I got the player to move again (thank you so much TobyYasha) but for some reason the random teleport is not working. I’ll show screenshots
IMG_1886.png
IMG_1887.png
IMG_1888.png
Your event number one sets random values between 1 and 3 to variables 3 (Random Room ID #1) and 4 (Random Room ID #2), then turns itself off by setting self switch A to stop the autorun by making event 1 go onto the second page, which is not autorun. So far so good, although I am not sure why you need to set 2 variables.

Did you use the wrong variable in event 3? Event number 3 tests variable number 1, which you haven't given any value to in event 1. If a variable isn't set anywhere, you can assume that it has a value of 0.

Event 3 would transfer the party to different locations within "Forrest" if the variable it tests had the value of either 1 or 2, but would do nothing if it had any other value. Event 1 sets its variables randomly to anything between 1 and 3 inclusive. Event 3 won't do anything if the variable it checks has a value of 3, so no transfer.

You showed the first event page of event 3, and it is autorun. You also need to do something to stop it, otherwise that page will keep repeating without stopping, freezing the game.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-rougelike-random-teleports-for-my-game.165080/