Move SV Battler with script call

I'm trying to make it where my party members can go to a back row like in some of the older Final Fantasy games. I figured a way to use states to halve damage but I don't like that the actors are in the same position. I want a way to move my actors backwards on the battleback based on whether or not they have the Back Row state. I'm using the plugin SVActorPositionMZ but that doesn't let you move the SV Actors if they have the back row state.
Its doable with the plugin since it accepts evals. Something like this inthe X position plugin manager parameters:

$gameParty.battleMembers()[INDEX NUMBER].isStateAffected(BACK ROW STATE ID) ? (600 + 32 * 2) + 50 : 600 + 32 * 2


Should do it. Just update the index number to work with the current actor index you're working on in the parameters, and the state id to match the state you're using to identify back row.


For the sake of asking, are you using VisuStella Battle Core at all too or any other plugin that affects Battle functions?

Original thread: https://forums.rpgmakerweb.com/threads/move-sv-battler-with-script-call.175041/