User Tools

Site Tools


change_player

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
change_player [2021/12/16 12:42] justinchange_player [2021/12/16 19:12] (current) justin
Line 2: Line 2:
 ---- ----
  
-Swaps out the current [[player character]] for another [[character]]. The other [[character]] can be provided as a model name, a [[add_party_member|party member]]or an [[NPC]] that exists within the current [[map]].+Swaps out the current [[player character]] for another [[character]]. The other [[character]] can be provided as a [[add_party_member|party member]] or an [[NPC]] that exists within the current [[map]].
  
 ====Signature:==== ====Signature:====
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|character|The [[character]] to swap the current [[player character]] with.|[[String]], [[Entity]]|Yes|+|character|The [[character]] to swap the current [[player character]] with.|[[Entity]]|Yes|
  
 ====Example:==== ====Example:====
Line 19: Line 19:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Remove Entity** function to remove [[character|characters]] that have exited during a cutscene or as a way for the player to "collect" [[object|objects]] from the scene (i.e. [[item]] pickups).+Use the **Change Player** function from a [[dialogue]] or custom [[widget]] to allow the player to switch between members of their party.
 </WRAP> </WRAP>
  
change_player.1639687346.txt.gz · Last modified: 2021/12/16 12:42 by justin