— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Swaps out the current player character for another character. The other character can be provided as a model name, 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. | String, 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 Remove Entity function to remove characters that have exited during a cutscene or as a way for the player to “collect” objects from the scene (i.e. item pickups).