MV Qmovement and Yep Event Chase Player (Solved)

Hi!

I have events moving around in the world and upon seeing the player they chase the player. Once they hit the player it runs a common event which triggers the battle scene. It works perfectly without Qmovement but I really wanted to have the free movement so I am trying to make it work. But it's just not working...

I've tried a few different things, tried searching but I'm just not having any luck in figuring out how to combine it. Qsight only triggers switches which really doesn't work, If it could trigger a common event then I could make it work though.

So any thoughts on how to make it possible?

Event chase player triggers in the move route on repeat:
Turn at random
1 step forward
Script: this._chaseRange = 48
Script: this._chaseSpeed = 4

Originally the chaseRange is 4 but I've changed it to 48 which at least makes the events chase, but the speed is all wrong as they are kind of glitching toward the players without any animation. I've tried change the chase speed too.

I know I am being short and not very detailed, the reason for it is that I am hoping there is a good fix for it. If more information will be needed I am willing and able to put the energy into compiling it very well.

Best regards,

I had the same problem with the event only moving 1 pixel at a time towards the player, try my plugin and see if it makes any difference.

I had the same problem with the event only moving 1 pixel at a time towards the player, try my plugin and see if it makes any difference.
(EDIT: It does work) Thanks for the plugin. I tried it but it doesn't change anything, it looks the same. I recorded a snippet of the scenario and how it looks. The event does move normally but once the chase starts it gets all slow...


EDIT: Sorry, when I added your plugin I did two mistakes. The first was that I copied one of my plugin dividers which I have set to off and then changed it to your plugin. Forgot to turn it on. The other is that even though I read the plugin order I placed it between Q and Event chase. I don't know if the order mattered since I realized both mistakes at the same time and corrected both at the same time. Thanks so much! 😀

I had the same problem with the event only moving 1 pixel at a time towards the player, try my plugin and see if it makes any difference.
I spend hours to find a fix. Thank you very much!
I spend hours to find a fix. Thank you very much!
Hello!

I finished a fix for that fix just today when @Johnny_Ray told me that it was actually his plugin 😛 I guess your post prompted him to notice this post.

Here, you go. It is an addition to Toby Yasha's original fix. This fix-fix improves performance issues and it also improves the return home feature for events..

1639613656011.png

I think this could be considered necro-posting, but I am quite unsure about that considering the circumstances. I feel this will make this thread relevant, and since someone did find it yesterday, it seems to make sense to reply. I don't know though, correct me if this was the wrong course of action.
But as it was awakened from the depths of the abyss already. I figured I'll post the fix-fix here now, and if anyone notices an issue within the plugin, just respond and I shall fix it. Then I'll mark this thread as solved.
Thank you so much!

I had tried it and it didn't really work after all. But with the fix after the fix, it works great now!

Thank you @bishiba and also you @Johnny_Ray for the efforts!
Thank you so much!

I had tried it and it didn't really work after all. But with the fix after the fix, it works great now!

Thank you @bishiba and also you @Johnny_Ray for the efforts!
You're most welcome!

I will mark this as solved now, and if anything comes up you, and anyone else using the plugin, are welcome to contact me via Itch.io, DM, twitter, patreon or the plugin post here on the forums. Basically, contact me however is easiest for you! 🙂

I'll be requesting a solve for this thread at this point.

Best regards,
Bishiba
Since it maybe helps to the problem solution I post the following here:

I noticed that when I set a "random movement" in the MoveRoute over the YanflyEventChase script part the event on the map moves very shaky/stucky on the spot. It spontaneously moves a few pixels in one direction then suddenly goes in another, but it looks like it's having an epileptic attack.
Of course this would happen without your plugin, but with your plugin the EventChase works when I go near it. Then it follows me normally and fluently, and later when I am far enough out of the range it returns to its place. But then the event gets its stucky bug again.
If I take the "random movement" option out again, the event NPC stands quite well and calmly on the spot.
It would be great of course, I do not want to seem annoying and demanding, but very grateful if you could do something. If the NPC would move randomly on the map, it would look much more natural.
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/qmovement-and-yep-event-chase-player-solved.132394/