I run into this problem when player spam enter, the event would repeat itself even though I set it to auto run
Event repeat when playper press enter
RPG Maker MV SupportGreetings,
Perhaps try creating a 3rd page on your event with a Condition of Self Switch B = On (leave the page itself blank and have the Trigger set to Action Button), and then put a Control Switches: Self Switch B = On at the end of the 2nd page. This should terminate further event processing from this event.
I say this to be as helpful as I can: I would also recommend going through some tutorials on event creation; an event set to Trigger: Autorun simply means the event page automatically triggers when said event on your map has its page's Conditions met. It doesn't have anything to do with the event ending on its own. 🙂
Happy game making and have a wonderful weekend,
-Niniann
Perhaps try creating a 3rd page on your event with a Condition of Self Switch B = On (leave the page itself blank and have the Trigger set to Action Button), and then put a Control Switches: Self Switch B = On at the end of the 2nd page. This should terminate further event processing from this event.
I say this to be as helpful as I can: I would also recommend going through some tutorials on event creation; an event set to Trigger: Autorun simply means the event page automatically triggers when said event on your map has its page's Conditions met. It doesn't have anything to do with the event ending on its own. 🙂
Happy game making and have a wonderful weekend,
-Niniann
Yeah, transfering the player to a new map does not stop the event from processing. As far as I'm aware, this bug should occur even if you don't spam. As Niniann suggests, properly close out the event by adding an empty page on self switch B.
I would set the loop below the text to begin with instead on top.
2nd page could have a simple "erase event" to stop the event processing there.
as I doubt you ever see it again midway?
if you do go that map, than SelfSwitch B (as failsafe) can do the trick too
as mentioned above.
2nd page could have a simple "erase event" to stop the event processing there.
as I doubt you ever see it again midway?
if you do go that map, than SelfSwitch B (as failsafe) can do the trick too
as mentioned above.
autorun and parallel process triggers always repeat, that is normal and not a bug.
because they are triggered again as soon as they are completed
so a loop inside an autorun or parallel is redundant and has nothing to do with your repeat - the break loop works correctly but then the entire event is restarted.
because they are triggered again as soon as they are completed
so a loop inside an autorun or parallel is redundant and has nothing to do with your repeat - the break loop works correctly but then the entire event is restarted.
Yes, it does. If it were an Autorun common event, then it would keep going, but map events are tied to their map - once you leave the map, all map events are unloaded. The autorun event will finish its page then stop. Adding a third page doesn't hurt anything, but is unnecessary.
That's presuming, of course, that the Transfer Player to the Opening map is a different map. If that's just going to a different location on the same map, then these posts are absolutely correct and the event will continue to repeat on autorun.
However, as Andar pointed out, the loop on the first page is also unnecessary (and can contribute to logical confusion).
My problem still unsolved and the map I transfer the player to is a different one
Then look for events on that map. Or at your common events, or try turning off your plugins.
In the default code, nothing in the event you show can continue running when you transfer to another map.
In the default code, nothing in the event you show can continue running when you transfer to another map.
I figure the reason but don't know why
Basically it's cause by the play se event and everytime the player press enter, the sound play and the event is reset to the start for some reason
Basically it's cause by the play se event and everytime the player press enter, the sound play and the event is reset to the start for some reason
than you might have a plugin that trigger that common event in the parameter
and didn't change it.
so show us a screenshot of your plugin database so we can see if any could cause it.
and didn't change it.
so show us a screenshot of your plugin database so we can see if any could cause it.
Original thread: https://forums.rpgmakerweb.com/threads/event-repeat-when-playper-press-enter.172855/