Hello all!
What I'm attempting to do:
I'm attempting to use HIME's Party Manager to create a system where the player can separate members of the main party in order to solve puzzles that would take, say, 4 separate actions (basic example: 4 buttons must be stood on simultaneously to open a door). So far, I've been able to get the basic properties of the plugin working and can create new parties, add/remove actors to/from parties, and switch to created parties.
I'd like to get it to a point where the player can hit a button that allows the first follower to separate from the party and come under player control. This removes the first follower from the party, and creates a 2nd party. Ideally, the player could hit the button again and control the next follower in the party. Once all of the actors are in separate parties and are separately controlled, the player should be able to cycle through the actors until they hit another button to merge the parties into one again.
The problem:
I've been able to do most of what I'm attempting from a structured point of view, that is: player is always in position 0, Actor 2 is always in Position 1, Actor 3 is always in Position 2, etc. And that works when I have things written this way:
Checks to see what actor is in follower position 1.
However, eventually I'd like the player to have the ability to pick and arrange the order of their party. This means that it's not always a given that an actor will be in a certain follower position.
The question:
Is there a way to check what party member is in Party Position 1 of Party 1 instead of the active party?
Through the plugin command scripts I can check to see if a party has an actor, but not what position that actor is in.
Or...
Is there a way to add the remaining party members to the newly created party in a general sense instead of adding specific actors?
What I've tried:
I've tried adding something like this to the Party Creation Variable event:
If:
Then:
Party Creation Variable = 1
etc.
But that only checks to see if Party 1 has Actor 2 AND if the current party has actor 2 in follower position 1, which obviously only works when there's one party, but doesn't do anything when you're controlling the second party.
- - - - -
I would appreciate any suggestions that anyone might have, thanks!
What I'm attempting to do:
I'm attempting to use HIME's Party Manager to create a system where the player can separate members of the main party in order to solve puzzles that would take, say, 4 separate actions (basic example: 4 buttons must be stood on simultaneously to open a door). So far, I've been able to get the basic properties of the plugin working and can create new parties, add/remove actors to/from parties, and switch to created parties.
I'd like to get it to a point where the player can hit a button that allows the first follower to separate from the party and come under player control. This removes the first follower from the party, and creates a 2nd party. Ideally, the player could hit the button again and control the next follower in the party. Once all of the actors are in separate parties and are separately controlled, the player should be able to cycle through the actors until they hit another button to merge the parties into one again.
The problem:
I've been able to do most of what I'm attempting from a structured point of view, that is: player is always in position 0, Actor 2 is always in Position 1, Actor 3 is always in Position 2, etc. And that works when I have things written this way:
Checks to see what actor is in follower position 1.
However, eventually I'd like the player to have the ability to pick and arrange the order of their party. This means that it's not always a given that an actor will be in a certain follower position.
The question:
Is there a way to check what party member is in Party Position 1 of Party 1 instead of the active party?
Through the plugin command scripts I can check to see if a party has an actor, but not what position that actor is in.
Or...
Is there a way to add the remaining party members to the newly created party in a general sense instead of adding specific actors?
What I've tried:
I've tried adding something like this to the Party Creation Variable event:
If:
JavaScript:
Party.hasActor(1, 2) && $gameActors.actor(2)==$gameParty.members()[1]
Then:
Party Creation Variable = 1
etc.
But that only checks to see if Party 1 has Actor 2 AND if the current party has actor 2 in follower position 1, which obviously only works when there's one party, but doesn't do anything when you're controlling the second party.
- - - - -
I would appreciate any suggestions that anyone might have, thanks!