Remove Party Member
Category: Character/Party
Removes a member from the party. Functions as the counterpart to Add Party Member. Used for all operations that reduce the member composition, such as member departure events, dead member exit, and party reset.
character.data is retained
The character.data (HP, MP, equipment, states, experience, etc.) of a member removed by this event content is retained. It just removes from the party array and sets group_type back to NONE; the character's own data is not lost. Adding them back later via Add Party Member restores them in their previous state.
Property List
| Item (tscn label) | Input Format | Description |
|---|---|---|
| Target | Select | Character specification method for removal target (6 options) |
| Member Index | Select | When Target=Selected Member, 0-based |
| Character Key | Text or select | When Target=Character ID, character.id ({var} supported) |
Property Details
Target
Specifies how to select the removal target character from 6 options (common with Change Parameter / Add State).
| Option | Behavior |
|---|---|
| Party All | All party members (including DEAD) |
| Party Alive | Alive members only |
| Selected Member | Specified by member_index |
| Party Random 1 | A random 1 from alive members |
| Character ID | Specify by character.id ({var} supported, default) |
| Party Dead | Dead members only |
Default is Character ID
The initial Target value for this event content is Character ID. This design reflects that "pinpoint-removing a specific member" is the most typical use.
Member Index (when Target=Selected Member)
Select the 0-based index within the party. Out-of-range is silent (nothing happens).
Character Key (when Target=Character ID)
Directly specify the character.json key (character.id). {var_name} variable reference supported.
Runtime Behavior
When this event content is executed, the following processing occurs:
1. Resolution of target character
Resolves the unique array of target characters based on Target (same logic as Change Parameter).
2. Fallback for no target
- Target=Character ID with unknown character_key -> target array is empty
- Target=Party Random 1 with 0 alive -> target array is empty
- Other invalid member_index etc. -> target array is empty
If the target array is empty, proceeds silently to the next event content.
3. Exclusion from party
For each target:
- Erase the corresponding unique from the
Global.save_data.party.memberarray - Return
Global.save_data.character[unique].group_typetoNONE - character.data (HP, MP, equipment, states, experience, etc.) is retained
4. Proceeds to next event content
After all processing, proceeds to the next event content.
Typical Usage Flows
Flow 1: Departure of a specific character (simple)
A companion leaves in the story:
- Show Text <- "Farewell, see you again"
- Remove Party Member (this event content)
- Target: Character ID
- Character Key: SIDEKICK
Flow 2: Dynamic departure via variable
Remove the character specified by Assign Variable:
- Assign Variable (save character.id to
leaving_char) - Remove Party Member (this event content)
- Target: Character ID
- Character Key:
{leaving_char}
Flow 3: Exit of dead members
After battle, make dead members fully exit (tragic development):
- Show Text <- "There's no helping them anymore..."
- Remove Party Member (this event content)
- Target: Party Dead
Flow 4: Random 1 member departure
A random 1 chosen by a lottery:
- Show Text <- "As a result of the lottery..."
- Remove Party Member (this event content)
- Target: Party Random 1
Flow 5: Party reset (exclude all)
Temporarily disband the party in game progression:
- Show Text <- "Let's disband for now"
- Remove Party Member (this event content)
- Target: Party All
(All member data is retained, so you can bring them back later with Add)
Flow 6: Departure of selected member
Remove a specific numbered member from the party:
- Remove Party Member (this event content)
- Target: Selected Member
- Member Index: 3rd person
Flow 7: Departure -> Rejoin (state retention)
Temporary departure -> return:
- Show Text <- "I'll go alone for a bit"
- Remove Party Member (this event content) (Character ID: SIDEKICK)
- (Separate story progression)
- Show Text <- "I'm back!"
- Add Party Member (SIDEKICK) <- Returns with HP/equipment/states retained
Flow 8: Conditional departure
Decide departure based on a flag:
- Conditional Branch (Formula
{flag_bad_choice} == 1) - Show Text <- "I'm disappointed in you"
- Remove Party Member (this event content)
- Target: Character ID
- Character Key: LOYAL_NPC
- End If
Typical Combinations
For the overall picture, see Combination Patterns.
Member departure pattern
Departure in the story:
- Show Text (farewell conversation)
- Remove Party Member (this event content)
- Show Text (departure message)
Dead member exit (tragic development)
Permanent exit of dead members after battle:
- (battle end event)
- Remove Party Member (this event content) (Party Dead)
- Show Text (memorial scene)
Remove -> Add round trip (state retention)
Temporary departure -> rejoin:
- Remove Party Member (this event content)
- (story progression)
- Add Party Member
Party reset
Disband all and rejoin only specific characters:
- Remove Party Member (this event content) (Party All)
- Add Party Member (HERO) <- Only hero returns
Conditional departure route
Whether a companion leaves based on choice outcome:
- Conditional Branch
- Remove Party Member (this event content) (bad route)
- End If
Related Event Contents
| Related Event Content | Use |
|---|---|
| Add Party Member | Counterpart to this event content (adding) |
| Change Parameter | HP/MP manipulation before/after departure |
| Add State / Remove State | State processing accompanying departure |
| Conditional Branch | Conditional departure |
| Assign Variable | Dynamic character specification |
Related Pages
| Page | Related Content |
|---|---|
| Character Tab (Editor) | Definition of character.json |
| Variable Tab (Editor) | Variable reference for character_key |
| Event Content List | List of all event contents |
Notes
character.data is retained
Even when a character is removed from the party by this event content, their character.data (HP, MP, equipment, states, experience, etc.) is retained. Adding them back with Add Party Member restores them in their previous state.
Asymmetric to Add
Add Party Member only directly specifies a single character.id, whereas this event content has 6 Target options for flexible target selection (random, all, dead members only, etc.). Design intent: joining is an intentional addition of 1 person, while removal supports multiple patterns.
No target is silent
When the target cannot be identified (Target=Character ID with unknown character_key, Target=Party Random 1 with 0 alive, etc.), it proceeds silently to the next event content without doing anything (no log).
Party All includes DEAD
Target=Party All removes everyone including dead members. If you want to remove only alive members, use Party Alive; for dead only, use Party Dead.
Party Dead is dead members only
Target=Party Dead targets only members with STATE_DEAD. Convenient for tragic developments after battles.
Default is Character ID
The initial Target value for this event content is Character ID. Set it after understanding the differences from other Target options.
Recovery from state of removing all party
After removing everyone with Party All, the party becomes empty. In this state, you may not be able to proceed to battles etc., so it is safe to add another companion with Add before proceeding to the next event.
group_type returns to NONE
The group_type of characters removed by this event content becomes NONE. When added with Add Party Member, it returns to PARTY.
Variable expansion
character_key can reference the value of a variable as character.id in {var_name} form. Dynamic departure processing is possible.
