User Tools

Site Tools


fr:add_party_member

This is an old revision of the document!


FIXME Cette page n'est pas encore traduite entièrement. Merci de terminer la traduction
(supprimez ce paragraphe une fois la traduction terminée)

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:

fr/add_party_member.1591720723.txt.gz · Last modified: 2020/06/09 09:38 by justin