Pause Parallel Event for Dialogue Action?

I don't think there is a solution for this, but never hurts to try. I have an NPC's movements be a parallel. What I want is when the player talks to the NPC they stop moving.

EV1 (NPC) trigger: action item = plays NPC dialog
EV2 (NPC movement) trigger: parallel = has complex movement that cant be fit into 'custom' route.


Currently, when the player talks to the NPC, the npc just keeps moving all over the map, lol. I also can't use a switch to fix this, because it messes up the movement route. I can't use an autorun because that freezes the player.

I have also tried making it a common event, and it still has the same issue. I think...the only solution would be to somehow cram all of my movement route into a custom movement route? But I'm not sure how to do that, when EV2 has things like 'event transfer' and also moves other events. I'll show it here, so you can understand why I don't feel like it'll work in a custom route.

Any help or suggestions would be appreciated, thanks. Oh, I should also mention, I'm not allowed using plugins for this project, the rule is that I have to stick to what the rpg maker actually offers vs. all the free stuff the community has made for it.

◆Wait:60 frames
◆Set Movement Route:Gideon (Wait)
: :◇Turn Up
: :◇Stepping Animation ON
: :◇Wait:180 frames
: :◇Move Right
: :◇Move Right
: :◇Turn Up
◆Set Event Location:EV22 Misc, (5,16)
◆Set Movement Route:Gideon (Wait)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'A'], true)
: :◇Wait:120 frames
: :◇SE:Book1 (90, 100, 0)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'B'], true)
: :◇Stepping Animation OFF
: :◇Wait:180 frames
◆Show Balloon Icon:Gideon , Silence (Wait)
◆Wait:180 frames
◆Show Balloon Icon:Gideon , Light Bulb (Wait)
◆Set Movement Route:Gideon (Wait)
: :◇Wait:120 frames
: :◇SE:Book1 (90, 100, 0)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'B'], false)
: :◇Stepping Animation ON
: :◇Wait:120 frames
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'A'], false)
◆Set Event Location:EV22 Misc, (2,13)
◆Set Movement Route:Gideon (Wait)
: :◇Move Left
: :◇Move Left
: :◇Turn Up
: :◇Wait:300 frames
: :◇Move Down
: :◇Move Right
: :◇Turn Down
: :◇Wait:300 frames
: :◇Move Up
◆Set Event Location:EV22 Misc, (4,16)
◆Set Movement Route:Gideon (Wait)
: :◇SE:Book1 (90, 100, 0)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'C'], true)
: :◇Stepping Animation OFF
: :◇Wait:300 frames
: :◇SE:Book1 (90, 100, 0)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'D'], true)
: :◇Wait:300 frames
◆Show Balloon Icon:Gideon , Silence (Wait)
◆Wait:240 frames
◆Show Balloon Icon:Gideon , Sweat (Wait)
◆Comment:Letter → Paper
◆Set Movement Route:Gideon (Wait)
: :◇SE:Book1 (90, 100, 0)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'C'], false)
: :◇Script:$gameSelfSwitches.setValue([29, 22, 'D'], false)
: :◇Stepping Animation ON
◆Set Event Location:EV22 Misc, (2,13)
◆Set Movement Route:Gideon (Wait)
: :◇Move Down
◆Set Movement Route:Gideon (Wait)
: :◇Wait:60 frames
: :◇Wait:60 frames
: :◇Move Up
: :◇Move Left
: :◇Turn Up
: :◇Stepping Animation OFF
: :◇Wait:300 frames
◆Set Movement Route:Gideon (Wait)
: :◇Turn Left
: :◇Stepping Animation ON
: :◇Wait:180 frames
: :◇Script:$gameSelfSwitches.setValue([29, 9, 'A'], true)
: :◇Wait:180 frames
: :◇Move Right
: :◇Turn Up
: :◇Stepping Animation OFF
◆Set Event Location:potion, (4,16)
◆Wait:150 frames
◆Set Event Location:EV22 Misc, (4,15)
◆Set Movement Route:Gideon (Wait)
: :◇Wait:150 frames
: :◇Script:$gameSelfSwitches.setValue([29, 9, 'A'], false)
: :◇Wait:180 frames
: :◇Script:$gameSelfSwitches.setValue([29, 23, 'A'], true)
: :◇Wait:180 frames
: :◇SE:Splash (90, 100, 0)
: :◇Wait:180 frames
◆Wait:300 frames
◆Set Movement Route:Gideon (Wait)
: :◇Script:$gameSelfSwitches.setValue([29, 23, 'A'], false)
: :◇Wait:180 frames
◆Set Event Location:potion, (2,17)
◆Set Movement Route:Gideon (Wait)
: :◇Move Left
: :◇Wait:60 frames
: :◇Turn Left
: :◇Script:$gameSelfSwitches.setValue([29, 9, 'A'], false)
◆Wait:300 frames
You have a pretty convoluted thing going on there.

The only thing I can suggest is:
- Take all of this out of the event commands, that's for talking to the NPC.

- Put the movement into custom move routes. Those will resume where they stopped when an event is activated.

- Make a parallel event with a reasonable wait (I think it takes 6 frames to move a tile) that checks the coordinates of the NPC, plays the non-movement commands when it's on the appropriate tile, then sets a variable to change the NPC to its next event page which moves to the next location in its custom move route.
The only thing I can suggest is:
- Take all of this out of the event commands, that's for talking to the NPC.
The movement is not in the NPC, it is its own event, as mentioned in my original post, the npc only had dialogue.

- Put the movement into custom move routes. Those will resume where they stopped when an event is activated.

- Make a parallel event with a reasonable wait (I think it takes 6 frames to move a tile) that checks the coordinates of the NPC, plays the non-movement commands when it's on the appropriate tile, then sets a variable to change the NPC to its next event page which moves to the next location in its custom move route.

I struggled to understand the last of your instructions, so I asked my bestie if she could translate in a way, lol. I'm more of a visual person so, she helped me. Thank you for your suggestion though, it's a lot of work, but I'm happy to have a solution. ♥ Really appreciate it!

I'm going to work more on this and if I have any other questions I'll reply here again, but for now, fingers crossed I can get this to work flawlessly, lol.

Original thread: https://forums.rpgmakerweb.com/threads/pause-parallel-event-for-dialogue-action.169810/