Hello! So we got this weird problem where our event works sometimes and then suddenly it doesn't. We are trying to make NPC move to place x, do the animation and then just walk away from the screen. We got this to work and it looks okay, but after restarting RMMV again it just suddenly doesn't work anymore. And then suddenly it works again. When it doesn't work the NPC is just walking to wrong spot and then it just freezes there and doesn't move anywhere anymore. Anyone got any ideas why does this happen? Thank you!
Movement problems
RPG Maker MV SupportWhen the event moves incorrectly, does it start moving correctly and then do its own thing, or is it wrong from the beginning? Does it always follow the same wrong path? If so, could you provide 2 screenshots of your map, where you've drawn in the correct path on one and the incorrect path on the other? Take the screenshots in the editor (even use regions to draw the paths if it makes it easier), so we can see any other events that might be around.
When it moves incorrectly, is it moving at the slower or faster speed? Does the animation and screen flash still happen after the correct number of steps? How far through that first move route should the event get before the animation and screen flash play? All the way through?
The only thing I can see is that you don't have any waits on the move routes. Putting the wait in a script call might be a bit dodgy, and the second move route could take over before the first one is finished. However, without knowing what "just walking to the wrong spot and freezing" means exactly, it's hard to tell. "The wrong spot" could be anywhere on the map, and exactly where is important to know.
When it moves incorrectly, is it moving at the slower or faster speed? Does the animation and screen flash still happen after the correct number of steps? How far through that first move route should the event get before the animation and screen flash play? All the way through?
The only thing I can see is that you don't have any waits on the move routes. Putting the wait in a script call might be a bit dodgy, and the second move route could take over before the first one is finished. However, without knowing what "just walking to the wrong spot and freezing" means exactly, it's hard to tell. "The wrong spot" could be anywhere on the map, and exactly where is important to know.
What we can remember is that character did walk at the start right. But now when we are trying to check how did it go wrong so we could draw that picture of those routes... For some reason it works properly all the time now? And we didn't change anything at all. I swear that before i wrote this, it mostly didn't work and now it just keeps doing it alright every time. So I have no idea what that was. We will do that picture if the character starts to move wrong again.
Do you remember if it took the same wrong path every time?
Could there be another event (even one with no image) getting in its way and holding it up until the wait has finished?
Could there be another event (even one with no image) getting in its way and holding it up until the wait has finished?
Yes it was same path. And no there isn't any events on the way.
I still drew it even though I can't remember how the wrong path went for 100% but it was somehow like this. Green is right path and red is wrong.
Events on the walls are just lights and there is no contents in any of them.
There doesn't have to be content. Events can't walk onto other events, no matter what's in them or what their priority is, unless they're set to THROUGH.
You've got 7 events along the wall - those would be lights, I guess. What's in the event in the next row down? That looks like the position it's stopping in when it takes the wrong path and freezes - if you remember correctly where the wrong path goes to. If it's got a move route and it's set to wait for completion and it bumps into another event and can't move onto that tile, the game would freeze. Sounds like this is exactly what's happening.
Can you show me on your screenshot which is event 4 and which is event 3?
You've got 7 events along the wall - those would be lights, I guess. What's in the event in the next row down? That looks like the position it's stopping in when it takes the wrong path and freezes - if you remember correctly where the wrong path goes to. If it's got a move route and it's set to wait for completion and it bumps into another event and can't move onto that tile, the game would freeze. Sounds like this is exactly what's happening.
Can you show me on your screenshot which is event 4 and which is event 3?
Original thread: https://forums.rpgmakerweb.com/threads/movement-problems.113447/