09-20-2019, 03:43 PM
(This post was last modified: 09-21-2019, 08:16 AM by WasabiCatto.)
On the create event of the warp object you have a set of variables, which are the following.
You just need to set up postchange to one of those 4 values, for example if you want to make Mario appear on a pipe you set up the following.
Code:
///Warps Mario to a different room
/*
** This item uses creation code!
**
** postchange = Pick from below: (Optional)
** 0: Mario
** 1: Warp Mario
** 2: Jump Spawn
** 3: Vine Spawn
**
** postx = New x coordinate
** posty = New y coordinate
** myroom = Destination room (Optional)
**
*/
You just need to set up postchange to one of those 4 values, for example if you want to make Mario appear on a pipe you set up the following.
Code:
postchange = 1;
postx = 768;
posty = 432;
myroom = room_next(room);