Yanfly Selection Control weird interaction

Hi, Yanfly's Selection Control plugin works weirdly when I'm selecting my actors in battle.

I have put this plugin below Yanfly Core, Yanfly Battle Core and Yanfly Target Core.
I'm not using Yanfly Row Formation in my game.

When I disable this plugin, all works perfectly (like behavior n°1 explained below)

Here an example :

problem.gif


When the selection phase start, I press only the Right Arrow and I select the last actor selected by the engine.

I would like to have one of these behavior :

- The selection start always at actor 1 and be can select actor 2, then actor 3 and finally actor 4 when pressing Right Arrow. And the same behavior inverted when i'm pressing Left Arrow

- The selection start at the current actor which choosing a target and we can go on right of left to choose the actor wanted. Example : Actor 3 have to choose a target. The selection start to him. He can select actor 4 by pressing Right Arrow once, select actor 2 by pressing Left Arrow once and select actor 1 by pressing Left Arrow twice.

I don't know what piece of code in this plugin act weird. I tried to found where but the knowledge of Javascript and RPG Maker MV lib is to high for me...

Thanks tohave a look of my problem, I hope you can help me !
Bump this thread, can't find solutions :/
Where is your mouse cursor during this? BattleEngineCore allows you to select actors or enemies by mousing over them. If your mouse cursor is pointing at an actor, it'll start in a weird spot and scroll through them in an odd order.
I have desactivated mouse inputs in my game, so I cannot select target with mouse during battle.
Hello, if I answered this thread even though 3 years have passed, would I be breaking the forum rules? I had the exact same problem and the same frustration when I couldn't find a possible solution. But now that I was able to solve it, I don't know if I'm allowed to write in this same thread to help those who have the same problem. Let the moderators tell me if I have permission so I proceed to explain the solution.
@Xaniro Yes, it is necro posting, so you might as well have posted your solution rather than asking for permission to do so 😛

Note that in the three years since this was posted, it's long since been solved. The link in my signature has code to change this behavior.

We just don't typically come up with a fix and then try to find every single person who asked about it over the years and put a link in those threads 😉
@Xaniro refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-selection-control-weird-interaction.121282/