Add Party Member
Category: Character/Party
Event content that adds a specified character to the party. Used for all party composition changes such as ally joining events, participation as quest reward, and guest joining.
character.data is preserved
Characters added by this event content join the party while preserving their character.data (HP, MP, equipment, states, EXP, etc.) as is. Even if removed once with Remove Party Member, adding them again with this event content restores them in their previous state.
Property List
| Item (tscn label) | Input type | Description |
|---|---|---|
| Character Key | Text or selection | character.id of the character to add ({var} variable reference allowed) |
Property Details
Character Key
Specify the character to add to the party by character.json key (character.id).
- Direct input: enter character.id like
MINATO - Variable reference: specifying in
{var_name}form resolves the variable value as character.id - OptionButton selection is also possible
- Cross-tab reference realtime update supported (2026-09-09)
Character body definition is required beforehand
The character added by this event content must be defined in advance as character_data in the editor's Character tab. Specifying an undefined key does nothing (with a warning log).
Runtime Behavior
When this event content runs, the following processing occurs:
1. character_key resolution
- Direct specification: used as-is as character.id
{var_name}format: the variable value is retrieved and resolved as character.id- Empty string -> silent next_line
2. character_data existence check
If the corresponding character.id does not exist in character_data:
*** WARNING : Add Party Member unknown character_keylog output- Silently proceed to the next event content
3. Duplicate check
If a member with the corresponding character.id already exists in the party:
- Does not add and silently proceeds to the next event content
- Design that is "safe even if trying to add an existing character twice"
4. Addition to the party
If no duplicate, Global.add_party_member_by_id(character_key) is called:
- Scans character_data and changes the
group_typeof the matching entry toPARTY - Appends the unique to the end of the
party.memberarray
5. Proceed to the next event content
After all processing, proceed to the next event content.
Typical Usage Flows
Flow 1: Ally joining event
An ally joins through the story:
- Show Text <- "Nice to meet you!"
- Add Party Member (this event content)
- Character Key:
ALLY_A
- Character Key:
- Show Text <- "ALLY_A has joined the party!"
Flow 2: Participation as quest reward
Acquire an ally after completing a quest:
- (Quest completion processing)
- Show Text <- "{quest_npc} will lend you their strength!"
- Add Party Member (this event content)
- Character Key:
KNIGHT_A
- Character Key:
Flow 3: Dynamic joining via variable
Join a character based on user selection:
- Add Choice x 3 (Character A / B / C)
- Show Selection Window
- Assign Variable (save character.id corresponding to the selection to
chosen_char) - Add Party Member (this event content)
- Character Key:
{chosen_char}
- Character Key:
Flow 4: Joining route branch via Conditional Branch
An ally joins only when a condition is met:
- Conditional Branch (Formula
{flag_rescued} == 1) - Add Party Member (this event content)
- Character Key:
RESCUED_NPC
- Character Key:
- End If
Flow 5: Temporary departure -> rejoin
Combined with Remove Party Member for temporary departure -> rejoin:
- Show Text <- "I'll act alone for a while"
- Remove Party Member (Character ID: SIDEKICK)
- (Separate story progression)
- Add Party Member (this event content) (SIDEKICK) <- restored with HP, equipment, and states preserved
Flow 6: Bulk add of multiple characters
Add multiple allies in order:
- Add Party Member (this event content) (ALLY_A)
- Add Party Member (this event content) (ALLY_B)
- Add Party Member (this event content) (ALLY_C)
Flow 7: Status initialization before joining
Full HP/MP recovery + initial equipment on joining:
- Add Party Member (this event content) (NEW_HERO)
- Change Parameter (HP, Set,
USER.HP.MAX, Character ID: NEW_HERO) - Change Parameter (MP, Set,
USER.MP.MAX, Character ID: NEW_HERO) - Add Item (starting weapon, Character ID: NEW_HERO, Auto Attach)
Typical Combinations
For the big picture, see Combination Pattern Collection.
Ally joining pattern
Ally joining through the story:
Joining via Conditional Branch
Different allies for different branches:
- Conditional Branch
- Add Party Member (this event content) (route A ally)
- Else
- Add Party Member (this event content) (route B ally)
- End If
Round trip of Remove -> Add (state preservation)
Temporary departure -> rejoin:
- Remove Party Member
- (Story progression)
- Add Party Member (this event content) (same character)
Joining + initialization
Full recovery and equipment granting right after joining:
- Add Party Member (this event content)
- Change Parameter (HP/MP recovery)
- Add Item (initial equipment)
Related Event Contents
| Related event content | Purpose |
|---|---|
| Remove Party Member | Counterpart to this event content (removal) |
| Change Parameter | HP/MP setting right after joining |
| Add Item | Equipment granting right after joining |
| Conditional Branch | Conditional joining |
| 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 body definition is required
The character added by this event content must be defined in advance as character_data in the Character tab. Specifying an undefined key will not add anything (with a warning log).
Duplicate prevention
If a member with the corresponding character.id already exists in the party, no addition occurs (nothing happens and processing proceeds to the next event content). Safe design that "doesn't let allies grow excessively even if the ally event is triggered twice".
character.data preservation
Characters added by this event content join while preserving their character.data (HP, MP, equipment, states, EXP, etc.) as is. Removing with Remove Party Member and then re-adding with this event content restores the previous state.
Initial character equipment and parameters
The character's initial state (HP, MP, initial equipment, etc.) follows the character.json definition. When added by this event content, the initial values set in the editor are applied (if character.data is not yet initialized).
Variable expansion
character_key can reference the variable value as character.id in {var_name} format. Enables dynamic joining processing.
Asymmetry with Remove
Remove Party Member can flexibly select targets with 6-option target, but this event content only directly specifies 1 character.id. Design intent: joining is intentional addition of 1 person, removal supports multiple patterns (specific character / random / everyone, etc.).
Behavior at party maximum
Exceeding the party maximum (MAX_PARTY_MEMBERS, usually 4) results in "not added" behavior in this event content (caught by duplicate check). Depending on the case, member count checks or removal processing may be needed before adding.
Only 1 person added
This event content only specifies 1 character.id, and has no target function for "add 1 random person" or "add everyone". To add multiple characters, line up multiple of this event content.
