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.
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;
targetY = 0;
target = room;
if (place_meeting(x,y,oPlayer))
{
with (oPlayer)
{
if (hascontrol)
{
hascontrol = false;
room_goto(target);
}
}
}
{
with (oPlayer)
{
if (hascontrol)
{
hascontrol = false;
room_goto(target);
}
}
}
if (place_meeting(x,y,oPlayer))
{
oPlayer.x = targetX;
oPlayer.y = targetY;
}
{
oPlayer.x = targetX;
oPlayer.y = targetY;
}