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 revisionBoth sides next revision
move_character [2018/03/16 09:46] justinmove_character [2020/02/14 11:47] justin
Line 6: Line 6:
 ====Signature:==== ====Signature:====
 <code python> <code python>
-move_character(character, tile_id)+move_character(character, tile)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |character|Character (player or NPC) that will be moved.|[[Entity]]|Yes| |character|Character (player or NPC) that will be moved.|[[Entity]]|Yes|
-|tile_id|ID of the destination tile.|[[String]]|Yes|+|tile|ID or coordinate of the destination tile or a reference to the destination tile itself.|[[String]], [[Coordinate]], or [[Entity]]|Yes|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 18: Line 18:
  
 ====Example:==== ====Example:====
-<code python>+<code bauxite>
 move_character(entity["Sarah"], "bridge01") move_character(entity["Sarah"], "bridge01")
 </code> </code>
move_character.txt · Last modified: 2023/04/03 13:19 by justin