- Joined
- Jun 30, 2013
- Messages
- 32
- Reaction score
- 7
- First Language
- English
- Primarily Uses
I have been searching around and I can't seem to find a solution to this, at least for MV. Basically, in the game I am creating, there are party members who can do various actions (e.g. one can break boulders, another has a light source, another moves fast, another can walk on ice tiles, etc.). You would need to rotate the party formation and have a certain member be the leader in order to do a certain action. However, I would like to rotate the party formation with the use of a button (e.g. the "S" key).
So for example, default party is structured like so at the start:
[A, B, C, D]
When pressing the "S" key, party structure becomes:
[B, C, D, A]
And likewise, if you press "S" again, party structure will be:
[C, D, A, B]
And so on, and so forth.
I tried looking for a plugin that could help out but PH Swap Party hasn't been working for me even when turning off my other plugins, and I've only seen scripts of this calibre be VX Ace only, so I tried thinking of scripting it myself instead.
So far, I thought of:

Then I'm kind of stuck on how to do the party rotation part. I would very much appreciate it if someone can help out.
So for example, default party is structured like so at the start:
[A, B, C, D]
When pressing the "S" key, party structure becomes:
[B, C, D, A]
And likewise, if you press "S" again, party structure will be:
[C, D, A, B]
And so on, and so forth.
I tried looking for a plugin that could help out but PH Swap Party hasn't been working for me even when turning off my other plugins, and I've only seen scripts of this calibre be VX Ace only, so I tried thinking of scripting it myself instead.
So far, I thought of:

Then I'm kind of stuck on how to do the party rotation part. I would very much appreciate it if someone can help out.