Is this a place to ask for help, as well? Because I'm looking to make a skill sequence that involves the entire party, and changes based on the number of party members, their states, and their positions in the party.
For example, there is a skill where the musician character will sing a song, and all other party members who are both alive and aren't afflicted by any debilitating states will dance to the music. The max party size in this game is 5.
Any party member
If user, moves to the middle of the screen and sings.
If dead or inflicted with debilitating state, does nothing.
The criteria to dance: Someone is in that party slot, alive, not inflicted with debilitating state, and not user.
P(arty) M(ember) #1
If criteria to dance are met, and PM #2 also meets the criteria, dances with PM #2.
If criteria to dance are met, but PM #2 does not meet the criteria, or no one is in Party Slot #2, dances alone.
PM #2
If criteria to dance are met, and PM #1 also meets the criteria, dances with PM #1.
If criteria to dance are met, but PM #1 does not meet the criteria, or no one is in Party Slot #1, dances alone.
PM #3
If criteria to dance are met, and PM #4 also meets the criteria, dances with PM #4.
If criteria to dance are met, but PM #4 does not meet the criteria, or no one is in Party Slot #4, dances alone.
PM #4
If criteria to dance are met, and PM #3 also meets the criteria, dances with PM #3.
If criteria to dance are met, but PM #3 does not meet the criteria, or no one is in Party Slot #3, dances alone.
PM #5
If criteria to dance are met, dances alone.
On to a different sequence, though...
I saw someone had written something about a skill where the user backs up before rushing into the enemy. Well! I took that idea, and let the user's party members get in on the fun! I'm not sure it will work as expected for all possible party slots and only living party members, since the editor doesn't allow switching party slots or killing off certain party members to test, but what I can see so far seems to work!
https://sergeofbibek.github.io/ActionSequenceIDE/share.html?sequence=-LKOXesFYK7U5I9SL1l8