This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
move_character [2020/04/22 17:45] – justin | move_character [2023/04/03 13:19] (current) – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | move_character(character, | + | move_character(character, |
</ | </ | ||
Line 12: | Line 12: | ||
|character|[[Character]] (player or NPC) that will be moved.|[[Entity]]|Yes| | |character|[[Character]] (player or NPC) that will be moved.|[[Entity]]|Yes| | ||
|tile|ID or [[coordinate]] of the destination tile or a reference to the destination [[tile]] itself.|[[String]], | |tile|ID or [[coordinate]] of the destination tile or a reference to the destination [[tile]] itself.|[[String]], | ||
+ | |pause|Whether or not script should be paused until the [[character]] has reached their destination. Defaults to true.|[[Boolean]]|No| | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 19: | Line 20: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | move_character(entity[" | + | move_character(entity[" |
</ | </ | ||
// | // |