but when removing party members it shows only the actors who are currently in party. if i have another actor instead it would ruin the event.
Yeah that's true. The text command \P[2] always gives you the name of the 2nd party member but if someone leaves the party you can't get their name anymore using that text code. But, we have other codes to use.
Note that you can nest these text codes. So you can save the Actor ID into a variable and use that later. For example, save the Actor ID of the 2nd party member (Actor #8) into Variable #47.
So even if that Actor is no longer in the party, you can still get their name in a Show Text or Show Choices by the text code:
If that doesn't make sense, just try it a few times and look at each part.
It first replaces the variable value, so "\N[\V[47]]" ---> "\N[8]" ---> "John Smith"
is there a way to remove party members by there slots?
Yeah of course, but remember that when someone is removed, everyone moves up, like a queue/line. So you have to remove actor back-to-front, not front-to-back.
If you have a 4-person party, and you want to keep the actor in the 3rd position, you have to:
- Remove Actor in the 4th position
- Remove Actor in the 2rd position (the actor who was in the 3rd position shifts up to the 2nd position)
- Remove Actor in the 1st position (the actor who was in the 2nd position shifts up to the 1st position)