Good afternoon/evening all
I am using the attached script in Battle Core VS > Actor Battler Settings > JS: Home Position to determine where Party members are drawn in battle based on their Class.
Even number Class Ids = Front Row
Odd numbered Classes = Back Row
That was simple enough.
What I'm trying to do to elevate this script is to check what class the previous party member index is and if there is a space available behind or in front of the previous member, move the actor up when possible.
Currently, the script can only effectively check the current actor being drawn and the actor above to make any adjustments like so:
1st pic is all Even Class Ids, 2nd pic is a mix of Even, Odd, Even, Odd
However in this section, we have Even, Even, Even, Odd.
What I would like is for that Odd-ball to move as high up as possible if there is a space available.
Any thoughts?
I set up some other constants that haven't been used in the script to check addition part member indices but haven't gotten them to work
I am using the attached script in Battle Core VS > Actor Battler Settings > JS: Home Position to determine where Party members are drawn in battle based on their Class.
Even number Class Ids = Front Row
Odd numbered Classes = Back Row
That was simple enough.
What I'm trying to do to elevate this script is to check what class the previous party member index is and if there is a space available behind or in front of the previous member, move the actor up when possible.
Currently, the script can only effectively check the current actor being drawn and the actor above to make any adjustments like so:
1st pic is all Even Class Ids, 2nd pic is a mix of Even, Odd, Even, Odd
However in this section, we have Even, Even, Even, Odd.
What I would like is for that Odd-ball to move as high up as possible if there is a space available.
Any thoughts?
I set up some other constants that haven't been used in the script to check addition part member indices but haven't gotten them to work