MV YEP EventChasePlayer Speed Trouble

Hi everyone!

I'm running into a bit of a problem with YEP EventChasePlayer...
I was trying to alternate the speed during the chase and saw that there was no effect, so I played around a bit and no matter what I set the speed to (using this._chaseSpeed = x) it does not overwrite whatever is setup under autonomous movement in the Event Editor. As you can see, right now I have 5 in the event editor and 4 in the custom move route, and the event will chase at speed 5.

YEP_ChaseBug.PNG


Am I doing something wrong? Has anyone else experienced this before? It's so weird to have that script call if it does nothing, so it's either me doing something wrong or a bug?

Thank you very much!

EDIT: I deleted the plugin from the list and reimported it, putting it back to the same spot it was before. Now it has back the standard plugin setup. Now chaseSpeed overwrites the autonomous movement setting, but volume and alterSound do not. It's so weird and feels really random. I also already disabled all plugins aside from this one and YEP Core.
What is the script call you're using for alterSound? It's not visible in the screenshot.
It's => this._alertSound = 0wn_BeastChaseAlert (<= the name of the se)
That's why that doesn't work - a filename is a string, so it must be in quotes. That's (kind of oddly) not specified in the plugin documentation, but it is demonstrated in the video tutorial.
Thank you for the help ATT_Turan. Very much appreatiated.

Oh, was wondering that there weren't any quotes mentioned in the plugin but tried " instead of '...

But it still didn't work UNTIL I started thinking more in programming terms and rearranged the way stuff is called, putting the this._chaseRange = x to the bottom, so the se is actually changed before the chase starts... That helped.

So if anyone else ever encounters this, I hope this helps.
Oh, was wondering that there weren't any quotes mentioned in the plugin but tried " instead of '...
There should be no difference between single and double quotes unless the filename contains one of them.
Yeah, probably didn't work because I still had it called after this._chaseRange, so I didn't see any effect. I entered the chase upon loading the map, because the player stood already in the range of the enemy.

Again, thank you very much for the help ATT_Turan! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/yep-eventchaseplayer-speed-trouble.140315/