MV Yep Row and Target core, Target both Row 1 and Row 4.

Hello everyone,
Currently using
Yeps Row Formation and Target Core.
Does anyone know the codding for a skill to target both row 1 and Row 4?

tried <Target: Enemy Row 1,4> but that doesn't work.

I know with target core, I think you can set up something with JS but this is why I'm here requesting help.

Target core

Row Formation
(Probs worth to mention by default there is 3 rows but the plugin allows for more and my game currently has 4 rows.)
I think yanfly's selection control plugin has the ability to do what you want.
tried <Target: Enemy Row 1,4> but that doesn't work.
Correct - the instructions don't say that's a valid notetag. Notetags (like any code) work with precise syntax, you can't just add things like commas and extra numbers and expect them to work 😉

I think yanfly's selection control plugin has the ability to do what you want.
They both do, it depends on what you want. (and it's certainly a bit confusing)

Target Core is for the initial target group, then Selection Control is for selecting the exact target within that.

So, in terms of the default skill settings, the default attack uses targeting for the entire enemy troop, then selecting one target.

What you want is:
Code:
<Custom Target Eval>
$gameTroop.aliveMembers().forEach(enemy => {if (enemy.row() == 1 || enemy.row() == 4) targets.push(enemy)});
</Custom Target Eval>

(I think 😛 If that doesn't work correctly for what you want, here's the Selection Control version)
Code:
<Custom Select Condition>
condition = target.row() == 1 || target.row() == 4;
</Custom Select Condition>
<Custom Select Condition>
condition = target.row() == 1 || target.row() == 4;
</Custom Select Condition>

This one worked a treat! Had to change the scope to all enemies and it worked perfectly. Thanks Very much ^^
Had to change the scope to all enemies
That should be the point of the custom target eval.

But however it works for you, great!

Original thread: https://forums.rpgmakerweb.com/threads/yep-row-and-target-core-target-both-row-1-and-row-4.169772/