How to use an item to take player to new map.

Hello! Recently I was asked by one of my friends how to make consuming an item take you to a new map. I figured it out and decided to share in case anyone else was wondering; it's kind of a complex situation.

So! First you're going to make a new state.

LHj4XLP.jpg


It should look just like this.

No features or anything.

Now, make sure your item that you want to transfer you inflicts this state.

WmYDZT5.jpg
0FVCqSt.jpg


Alright, next, make an event anywhere in the map that the player is going to transfer from. If you make it in the map the player will transfer to, nothing will happen.

rHdeBYO.jpg


It doesn't matter where it is, really.

Now, create a new conditional branch and set it to happen if any character uses the item.

T8FXmsN.jpg


If there is more than one character, you'll have to create multiple conditionals, each one for a different character, in case the player chooses to use the item on a character other than the main one.

Now, add the transfer. It should go just on the first @> command under the conditional.

uOkLtT0.jpg


O8RghsE.jpg


Make sure the trigger is on Parallel Process, and there is nothing happening on the second branch.

If you want something to happen before the transfer, put it on the first branch, before the transfer command.

I hope this helps any beginners! 😀 It was a pain in the ass to figure out, so I thought I'd upload it to help anyone else.

If you have any questions, feel free to ask~
No, you've gone the long/difficult way. To do it this way, you'd have to have that parallel process event on every single map where the player could be while holding the item in inventory.


Just make the item call a common event (via features), and in the common event, do the transfer.
Question, why bother using states and events when you can make this using Common Events and make the item run it directly?

Edit: Shaz beat me to it...
Was reading this with horror thinking I'd misunderstood something about event features. So glad that Shaz was there to sooth me over.

You should be able to make a map item, have a feature that calls an event, and have that event have a transfer in it. Biff bang boom done.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-an-item-to-take-player-to-new-map.15357/