This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
change_player [2021/12/16 12:45] – justin | change_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]], | + | |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 **Change Player** function | + | Use the **Change Player** function |
</ | </ | ||