1door 3 maps

Illustration.png

hi there,
i hope this makes sense
ive been trying to figure out how to get event A to transfer player to B,C or D depending on which map they are on after transferring to the first map
any suggestions?
Maybe have 3 copies of the room and cycle them in the order you want? If that makes sense. I'm still relatively new myself.
basic is on A set up the door transfer (you can do so by variable (0,1,2)
or at random (0...2).

when 0, transfer to B
when 1, transfer to C
when 2, transfer to D.

those rooms exit go to A (depends how you want to run this).

if there is a specific way, door A need random 0..2 or variable tracker.
use pages to always go back to B, C or D.

if you need to resolve B to go to C from the same door (A), than a variable
is best to use or self switches (use scriptcalls for this).

but it's best if we know the entire mechanic you are after so we can give
a better solution/answer for you.
so basically the 3 maps are "the same room" just different water levels, think ocarina of time water temple.
i was hoping that after you have stepped through door A first time, if you step through door b nothing changes... but
when the lever on map 1 is triggered it transfers player to same spot on map 2, and also toggles a switch/variable to denote you are on map 2 so if you step through door c it will transfer you back to map 2 not map 1 (as per default loop), then using this logic for map 3 after triggering 2nd lever... if that makes sense
I have something like yours in a different way, but more as raising water,
so I use 1 map, and event based leveling. (see sample):
but I use it up to 10x10 tiles tops, but your game to do it multiple in smaller
portions (as I use a plugin for this to control it).
DynamicDrain.gif


the sample above is a small testing pool I made, and it can leave you
on 1 map.

another way to keep 1 map (without duplicate) or if you want to keep it
that way, fade out (transfer player to map C, wait 30 frames and fade in).

this is in your case the cleanest by that map.

an expensive solution and need time to understand it is the use of
RITTER_MapTransformation but for me personally, I don't like the looks,
and require multiple maps (which you already do), fade out/in is probably
cleaner in your case.

another way if you want it more dynamic (less than mine) is the use of
TileChange or TileControl if you want plugin controlled. (2 free alternatives)

but without plugin => fade out and in smooth.

as I went golden sun approach, and the plugin I use can control any event
similar like the above (for moving, rotating etc) pure picture based.

but I can't share it as its custom made and bit modified to my needs.

but that's all I can help for your solution
so turns out i just needed couple of extra events for turning on and of switches and then the door A event having 3 pages that would start based on which switch was on
so turns out i just needed couple of extra events for turning on and of switches and then the door A event having 3 pages that would start based on which switch was on
That would have been my suggestion. Plus, its neater as you wont have to cram the 1 map with all the events from different levels.

I have something like yours in a different way, but more as raising water,
so I use 1 map, and event based leveling. (see sample):
but I use it up to 10x10 tiles tops, but your game to do it multiple in smaller
portions (as I use a plugin for this to control it).
View attachment 358014

the sample above is a small testing pool I made, and it can leave you
on 1 map.
Im not understanding if you managed that with or without a plugin, but either way, it looks great! Thats RPG magic!
Im not understanding if you managed that with or without a plugin, but either way, it looks great! Thats RPG magic!
that pool = a plugin and using comments to control the flow.
as it has image rather than a sprite.

so the solution with fade out => transfer => fade in.
just make sure you use X Y location correctly (like variable, depending where
player stands.

I think you can handle it smoothly in the way I said.
It may not be as dynamic or smooth draining, but in most games to speed it up,
the solution I said works perfectly fine (specially beginner friendly).

Original thread: https://forums.rpgmakerweb.com/threads/1door-3-maps.181968/