Warp between rooms puts me in Coordinates before transition..

A

Adam Mansour

Guest
As I said in the title.. I cant warp to a level because before this happens, the warp instance will set me to the coordinates in the room Im currently in. (intended is that the warp sets me there after I went to the next room)
I tried putting the coordinates into the End Step, hoping that this would happen after the Begin Step finished but the result is the same. I put the codes for the Object in the Spoilers.
targetX = 0;
targetY = 0;
target = room;
if (place_meeting(x,y,oPlayer))
{
with (oPlayer)
{
if (hascontrol)
{
hascontrol = false;
room_goto(target);
}
}
}
if (place_meeting(x,y,oPlayer))
{
oPlayer.x = targetX;
oPlayer.y = targetY;
}
 

Slyddar

Member
Please only create one thread for your topic. I wrote a long answer for you in the other thread, so best to just ask any questions about it in there.
 
A

Adam Mansour

Guest
really? I didnt see any.. lemme check again.. I made this post btw because I thought maybe people wont like having to watch an 8 minute video.. thank you anyways.
 
Top