User Tools

Site Tools


add_party_member

Add Party Member


Adds a character to the player's party. Currently, party members will only appear in tactical turn-based battles to aid the player in combat.

Signature:

add_party_member(model_name, member_id)
ArgumentDescriptionTypeRequired
model_nameCharacter model to use for the new party member.StringYes
member_idUnique member ID that will be assigned.StringYes

The Remove Party Member function can be triggered later to remove a character that was previously added to the party with the Add Party Member function.

Example:

add_party_member("sarah_character", "Sarah");

Results: The character “sarah_character” is added to the player's party and assigned a member ID of “Sarah”.

Use the Add Party Member function to have an NPC join the player's party after choosing a certain dialogue option or completing a quest for them.


Editor Node:

add_party_member.txt · Last modified: 2021/04/21 18:57 by justin