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);

![[Image: Vb8vjwW.png]](https://imgur.com/Vb8vjwW.png)
![[Image: uIrDfRP.png]](https://imgur.com/uIrDfRP.png)
![[Image: Jd3PZ8y.png]](https://imgur.com/Jd3PZ8y.png)
![[Image: BvmA5Pf.png]](https://i.imgur.com/BvmA5Pf.png)
![[Image: LAKfOPp.png]](https://imgur.com/LAKfOPp.png)
![[Image: 10CGjip.png]](https://imgur.com/10CGjip.png)
![[Image: gEIdmj2.png]](https://i.imgur.com/gEIdmj2.png)
![[Image: 8GCySLU.png]](https://i.imgur.com/8GCySLU.png)
![[-]](https://forums.mfgg.net/images/emerald/collapse.png)