How to set aggro based on party position?

Hi, been putting some decent hours into this project and finally come across something the forums don't appear to have answered already.

The situation is as follows: The game I'm making relies a lot on party positioning and switching in and out; if possible I would like the aggro towards each party member to depend on their relative position.

Example:
Actor 1: Draws 50% of enemy attacks.
Actor 2: Draws 20% of enemy attacks.
Actor 3+4: Draw 15% of enemy attacks.

That's just off the top of my head, nothing concrete until I know it can be done. If it helps, I'm working with Yanfly's Charge Turn Battle system.
Bump
Easiest way i can think about it is admittedly clunky.
With Yanfly's passive plugin, each actor can have 3 passives that each modify their target rate by 50%, 20%, and 15% one, and then each one would have their condition be based on the user's index within $gameParty.members()
I've already made pretty extensive use of Passive States so that sounds feasible. I'll have to give that a try tomorrow though, it's already late. Thanks.

Edit: Been trying for a while but no luck, enemies still target across the board even when 1st position is set to 999%. The states have been set as passives in the Yanfly plugin settings, also tried with the states manually placed into the actors' notes, so I'm guessing what I'm putting in for the custom conditions is either not activating any of them or is activating all of them for all actors. Tried the following inputs (changed 0 to 1, 2 and 3 respectively across the four), any suggestions are welcome.
Could you give hidden items to your party members behind the scenes and then have your enemies roll a number that's equal to your percentages? Then the enemies attack the party postion based on the number they rolled?

Example:
Game gives Party Leader hidden item 1.
Game gives Follower #1 hidden item 2.
Game gives Follower #2 hidden item 3.
Etc.

Enemy 1 chooses a random number between one and 20.

If the number chosen is 1-10 (50% chance), then they attack the actor holding hidden item 1.

If the number rolled is 11-15 (25% chance), then attack the actor holding hidden item 2.

If the number rolled is 16-18 (15% chance) then attack the actor holding hidden item 3.

Etc.

I'm away from my computer so cant give specifics, but something like that sounds like it might work?
I'm guessing what I'm putting in for the custom conditions is either not activating any of them or is activating all of them for all actors
none of those do what you want them to do.
try
Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[0];
</Custom Passive Condition>

Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[1];
</Custom Passive Condition>
and
Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[2] ||
user == $gameParty.members()[3];
</Custom Passive Condition>
as the conditions for the 3 passives.
Since 3rd and 4th positions have the same effect, theres no need for them to be different states
none of those do what you want them to do.
try
Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[0];
</Custom Passive Condition>

Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[1];
</Custom Passive Condition>
and
Code:
<Custom Passive Condition>
condition = user == $gameParty.members()[2] ||
user == $gameParty.members()[3];
</Custom Passive Condition>
as the conditions for the 3 passives.
Since 3rd and 4th positions have the same effect, theres no need for them to be different states
This has worked perfectly, still keeping the 4th state as the values are subject to change upon further testing but I dialed up the Front to 999% and they started gunning for him exclusively. Thanks a lot dude.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-set-aggro-based-on-party-position.167739/