how to use item to show pictures and get back

Hi guys,

First of all, I would like to say in advance that all of you who are way more experienced and come here to help poor amateurs like me are real heros, thank you.

My question:

I want to make an Item that when used opens up a common event involving lots of "show pictures"set to commands from my directional keys.

I was able to build this already. Now the problem I am grasping with is how to get this item to open up the common event the way I want it to.

These are the two avenues I thought of with different problems I encountered.

avenue 1:
make the item open up the common event directly. Problem: the pictures show up on top of the characters and the map and whenever I add a "show picture background" (which I prompt before the others) it does not stay as a background when the other pictures in the foreground change.

avenue 1:
make the item open up a blank map where the common event opens up. Problem: getting the character that used the item to then transfer back to the location where the item was used when its done.
it does not stay as a background when the other pictures in the foreground change.
It should unless you're calling a different picture under the same ID.
Problem: getting the character that used the item to then transfer back to the location where the item was used when its done.
You could do that by having the item call a common event regardles, in which you save the map ID, X and Y coordinates ina variables, which you can the use as the location for a player transfer.
By the way, method 2 has a problem. If you leave the map it is not granted everything is in the same location unless you develop some mechanic to save them, even if you manage to return to the same spot.
It should unless you're calling a different picture under the same ID.

You could do that by having the item call a common event regardles, in which you save the map ID, X and Y coordinates ina variables, which you can the use as the location for a player transfer.
You were right! I figured out now how to make the picture ids work out, thanks to you! thank you!

By the way, method 2 has a problem. If you leave the map it is not granted everything is in the same location unless you develop some mechanic to save them, even if you manage to return to the same spot.
Exactly! Any tips/tutorials/plug ins in this direction would be greatly appreciated. Right now I'm moving on with a solution where this course is not needed. but I would like to know how to save the specific location you're in with a variable without having to put in the coordinates each time
For example:
For example:
Hey, your help was much appreciated it set me on a path to success! I didn't need to use the plugin though, which saves event locations, I needed to save character location (which is even easier)

I needed to save my character location which I figured out by searching for that in the forum and found what I needed. No plugin required, just setting variable to game data -> player x and y.

I did, however install this plugin and might use it. thanks a bunch.
Exactly! Any tips/tutorials/plug ins in this direction would be greatly appreciated. Right now I'm moving on with a solution where this course is not needed. but I would like to know how to save the specific location you're in with a variable without having to put in the coordinates each time
I mean... Normally it's not a big deal. It's 3 commands. Alternatively, make a common event that just does them and whenever you need to save your player position, call the common event.
I mean... Normally it's not a big deal. It's 3 commands. Alternatively, make a common event that just does them and whenever you need to save your player position, call the common event.
thank you, I was able to figure it out thanks to you. easy indeed. all the best!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-item-to-show-pictures-and-get-back.173754/