User Tools

Site Tools


move_character

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
move_character [2021/04/21 18:36] justinmove_character [2023/04/03 13:19] (current) justin
Line 6: Line 6:
 ====Signature:==== ====Signature:====
 <code python> <code python>
-move_character(character, tile)+move_character(character, tile, pause)
 </code> </code>
  
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]], [[Coordinate]], or [[Entity]]|Yes| |tile|ID or [[coordinate]] of the destination tile or a reference to the destination [[tile]] itself.|[[String]], [[Coordinate]], or [[Entity]]|Yes|
 +|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%>
move_character.txt · Last modified: 2023/04/03 13:19 by justin