[Solved] Common Events in Items

Hello all and good evening
My problem is that I put two common events into one Item but only whichever common event is at the bottom works.
Capture.PNG

So as you can see the two common events
CameraRoom - Teleports the player to a map called CameraRoom
SaveLoc - Saves the exact location of the player (X,Y, MapId)

What is supposed to happen is
Player clicks camera item to use
his cords + map id get saved and he teleports to another room

What happens is
Only the common event that is at the bottom works
So its eighter saving the location and not teleporting
or teleporting and not saving the location

Any idea how to go around this?
Is this a limitation of the RPG MV engine?
Thank you in advance.
yes, this is a limitation of the engine - only one common event can be attached to a skill or item by default.

the usual method is to combine the events into one and run that. nothing you describe is any indicator of preventing that, quite the contrary - teleport items regularly store their position before they teleport with only one common event.

some people wrote scripts or plugins to install a common event queue, but for this specific case it would be much better to combine those commands into one common event.
yes, this is a limitation of the engine - only one common event can be attached to a skill or item by default.

the usual method is to combine the events into one and run that. nothing you describe is any indicator of preventing that, quite the contrary - teleport items regularly store their position before they teleport with only one common event.

some people wrote scripts or plugins to install a common event queue, but for this specific case it would be much better to combine those commands into one common event.
Thank you for telling its a limitation, that was news for me
I did fix it, but now i have a problem that if the player ( for some reason) decided to use the camera while in the camera room his location gets saved there, but I guess a workaround would be to take the camera from the player while he is in that room specifically and return it to him when he leaves it.
Combine them into one, or use event command "Call Common Event" within the first Common Event, if you have to keep them separated for reasons to chain multiple Common Events.
Combine them into one, or use event command "Call Common Event" within the first Common Event, if you have to keep them separated for reasons to chain multiple Common Events.
Thank you, that was noted.
This how how it works. You can "cheat" the engine by putting "Common event" in another common event. Voila.
but now i have a problem that if the player ( for some reason) decided to use the camera while in the camera room his location gets saved there,
control variable to get the current map id, then conditional branch if it is the camera map and if yes abort event before storing coordinates

Original thread: https://forums.rpgmakerweb.com/threads/solved-common-events-in-items.138616/