Common Event Keeps looping?

Hihi!! I've been thinking about including a 'Save Hub/Map' in my game that you can visit to read short story books/find hints that can help players figure out certain puzzles.

I can achieve this event by just including a save point that can transport the player to the save map each time, but I just wanted to experiment with this by having an item in the inventory transport the player when it's clicked on. However, once the item is in the inventory it loops about every four seconds.

dcunise-f09b4936-1a51-47a8-954b-23065e3dd826.png

file

file
Is there a script that I can use to achieve this effect instead?

Thank you and have a nice day! 😀
Check the event that gives the item to the player, that might be causing the looping problem, if its
autorun make sure you have erase event or a switch on, or else it will keep looping.


As for the common event, looks fine to me. 👍
Check the event that gives the item to the player, that might be causing the looping problem, if its
autorun make sure you have erase event or a switch on, or else it will keep looping.


As for the common event, looks fine to me. 👍

Thank you Rosalize!! I'll be sure to check out what I did with the item event later. It wasn't Autorun, but the issue might be sound there.
your common event does not match up with the picture.
The text box shows as transparent but the picture shows the window there.
Also You CAN'T use erase event in a common event. Common events are always there. the common event should only be run when the item is used. check your events as stated above.
your common event does not match up with the picture.
The text box shows as transparent but the picture shows the window there.
Also You CAN'T use erase event in a common event. Common events are always there. the common event should only be run when the item is used. check your events as stated above.

The 'Show Picture: 40, 'Text' is the text box. I just have the text set to transparent over it.

Ah, I think I'll just go back to my original plan and include a save point in each map that'll just transport the player character to the Save Hub.
There is nothing in that common event or the item that would cause it to loop.

As said, get rid of the Erase Event commands, because that's only useful for map events and could have an unwanted effect on common events.

You should save the current map id and player's X and Y location into variables before doing the transfer - I assume you want to put them back at the current spot after they visit the save map?

The common event isn't set to autorun or parallel process, which would normally cause it to loop (but immediately, not every 4 seconds), and the event that gives the item to the player isn't causing this, because events that GIVE items don't TRIGGER items.

What scripts do you have that maybe alter the menu appearance/behaviour?

Original thread: https://forums.rpgmakerweb.com/threads/common-event-keeps-looping.103381/