Hello, everybody-
I posed this question in the RPG Maker Forums but nobody was able to provide a solution, so I thought I might ask around here.
I am trying to streamline the way my character moves from one map to another by using variables and a common event.
I have a common event called xferAUTO:
xferAUTO is called when the player touches a particular Map Event:
However, whenever I run a play test, my Character is transferred to the destination map and is stuck in place:
This doesn't happen if I don't use variables and the xferAUTO Common Event:
Would anybody happen to know what I am doing wrong and why this is happening?
Why would it work without variables and a Common Event, but fail otherwise?
I would be very grateful for any insight any of you could offer me. Thanks!
I posed this question in the RPG Maker Forums but nobody was able to provide a solution, so I thought I might ask around here.
I am trying to streamline the way my character moves from one map to another by using variables and a common event.
I have a common event called xferAUTO:

Code:
◆Control Variables:#0034 xferTemp = Direction of Player
◆If:xferDIR = xferTemp
◆Play SE:Steps (90, 100, 0)
◆Script:var xferXY = $gameVariables.value(35).split(",",2);
:Script:$gameVariables.setValue(33, xferXY[0]);
:Script:$gameVariables.setValue(32, xferXY[1]);
◆Transfer Player:{xferMAP_ID} ({xferTempX},{xferTempY})
◆
:End
xferAUTO is called when the player touches a particular Map Event:

Code:
◆Control Variables:#0037 xferDIR = 4
◆Control Variables:#0036 xferMAP_ID = 2
◆Control Variables:#0035 xferXY = "51,16"
◆Common Event:xferAUTO
However, whenever I run a play test, my Character is transferred to the destination map and is stuck in place:

This doesn't happen if I don't use variables and the xferAUTO Common Event:

Code:
◆If:Player is facing Left
◆Transfer Player:HALLWAY (51,16) (Direction: Left)
◆Set Movement Route:Player (Skip, Wait)
:Set Movement Route:◇Move Left
:Set Movement Route:◇Move Left
◆
:End

Would anybody happen to know what I am doing wrong and why this is happening?
- I am not using a Parallax Map.
- The tile that the character is transferred to is passable.
- I do not have any Autoruns on both the destination and source map that is causing any conflict.
Why would it work without variables and a Common Event, but fail otherwise?
I would be very grateful for any insight any of you could offer me. Thanks!