How to make a zone changing system like Returnal

(sorry if this isnt the right tag if it isnt please tell me where i should ask the next time). Im trying to make a zone changing system like Returnal in rpg maker mv basically i create 500 zones and when the player enters a door it changes randomly, but i dont know how to do it i dont know how to use variables and that type of stuff only simple events like a bit of conditional branches. (Sorry for my bad english)
Hello!
You shoud always precise what do you want to do, not only "I want this like in X game", because not everyone played that game. So you just need a door that transfer to random place/zone?
Variables are the one most important part of the engine, you can't do much without them.
The following is a link to an VXA game that explains Variables - after playing it you should download the VX Ace Trial to open it and see how the events are done there:


Please take the time to learn how to use variables, you can't do a quest more complicated than a "go there" without variables to count or remember.

After that, what you'll need is to use the randomizer in control variable to decide on the target destination. Depending on how your maps are structured there are many ways to implement that mechanic, but they all require Variables.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-zone-changing-system-like-returnal.177634/