Glitch in teleporting and transparency?

Trying to create a map function by using a seperate room that acts like a world map where you can locate yourself on the world and where to go etc.


What happens is by activating a common event, it records your location data- teleports you to the other room and when pressing the back button you resume your previous location.


When teleporting to the map your character is set transparent and your party is turned off, you cannot access the menu and your speed is changed. When returning to the map- your graphic is meant to return to normal, your speed normal and your menu access restored. The problem is- none of those functions work and to top it off- you can no longer move. I have absolutely no idea what is the conflict here.


Here are screen caps of my efforts.


First image is the common event that you activate that teleports you to the map room.


d2.png


Second image is an event that runs the exit function. When returning to the room you previously where before- it ignores these commands entirely EXCEPT for the button to teleport back.


d3.png
The event is in parallel, and you have a transfer event on it. What that means is once you transfer, the event code is no more, so the parallel process is no more (as events only exist on the map they are created on), so it can't run the rest of the event. Try moving the other code above the transfer event.
according to your screenshots, that button is the only one that exists. If there are other buttons that don't work, we need to see their events and code to see if you made a mistake there.


That said, there are several points where you already made mistakes:


1) exist event processing in the second screenshot is absolutely useless, because it does nothing there.


Exist event processing places the command pointer to the end of the event - and since it is the last command anyway, it does nothing.


And then the parallel restarts (which is why an exit event process in a parallel is only a restart and nothing else)


2) all events are part of the map. If you use a transfer player command to go to a different map, you're deleting the events that exist on the current map - INCLUDING the event with the transfer command!!!


There are some cases where specific commands after a transfer player might still be processed, but it is usually considered best to place the transfer command last in a sequence, because very often the commands after the transfer command will be ignored.
Following your advice, I toyed with the positioning of the transfer command- but something is still preventing me from moving. I'm not certain what else I should be doing, if I try to combine the return commands in the one common event they do the same thing also.
That's probably a flaw in your new map. Can you access the menu at all? If so you have the top tile of your B tileset not set to star. If you cannot even do that, then you have an autorun that is still running somewhere. Check your common events and all events on the new map.
When entering the map room, menu's are disabled. When returning to the previous room the menu is still disabled but you are unable to move- there is no autorun event present to prevent things that normally would be.
simple test:


can you turn but not move? then you have a passability problem.


are you unable to even turn? then either a plugin broke the engine or there is an autorun active. And in such a case a broken engine is extremely unlikely.


And that is a fact - if you don't know of an autorun in the latter case, then that is because you have forgotten about it and have to check everything again, not because it doesn't exist. Because it is somewhere... (either a forgotten map event or an unnamed common event accidentally turned on by your switches)
There is 0 autorun events in my project thus far.


Think I found something very unsettling with MV since I'm essentially copying what I had completed on VX Ace, I noticed with MV's control variables function when selecting MAP ID there is only MAP ID availaible regarding to that where as VX Ace has seperate handouts for player's X and Y positioning. Thus I believe I'm being teleported to a different location under terrain this whole time I suspect..


EDIT


I feel like a friggin idiot right now not knowing there was options within options, this program makes my head spin sometimes. Anyhow I got it fixed I believe- had to make 3 common events and a switch to fix it. Basically I found out how to connect the X,Y variables properly finding them hidden in the control variable command, having the map function return me to my location. I had to create one common event that records my positioning, teleport me to the map room while making the player invisible and all that. Next I had to have the C button command a second common event that teleports the player back and thus also activating a common event via a switch- the 3rd common event restores the players default things such as speed, transparency OFF etc and finally having the control switch turn itself off. Seems I'm back in business!
The control variable command of MV is absolutely identical to the one used in VX Ace - both have their game data options in a window following the Map ID, that was never different.


And yes, having several parallel processes for recording positions (and not even mentioning that to us, we thought you were using the standard way of game data to get those numbers) has always a risk of messing things up.
Don't know whats wrong with me lately, probably getting some mental problems arising haha.


Well other than the infomation i've provided and listened to all of your helpful posts I had experiemented in between trying to figure out what else works more effectively. I just wish I knew that the teleporting fiasco was putting me in an area below the map where player's cannot move and visually be seen.

Original thread: https://forums.rpgmakerweb.com/threads/glitch-in-teleporting-and-transparency.72987/