— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Swaps out the current player character for another character. The other character can be provided as a party member or an NPC that exists within the current map.
change_player(character)
Argument | Description | Type | Required |
---|---|---|---|
character | The character to swap the current player character with. | Entity | Yes |
change_player(party.member["Sarah"]);
Results: The party member with the ID of “Sarah” will now be the main player character.
Use the Change Player function from a dialogue or custom widget to allow the player to switch between members of their party.