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
Next revisionBoth sides next revision
move_character [2017/04/24 14:42] justinmove_character [2018/03/16 09:46] justin
Line 4: Line 4:
 Moves the character to the specified tile at their assigned movement speed. If a walkable path is not open then the character will remain at their current position. Moves the character to the specified tile at their assigned movement speed. If a walkable path is not open then the character will remain at their current position.
  
 +====Signature:====
 <code python> <code python>
 move_character(character, tile_id) move_character(character, tile_id)
Line 20: Line 21:
 move_character(entity["Sarah"], "bridge01") move_character(entity["Sarah"], "bridge01")
 </code> </code>
-//Results://+//Results:// The character with an ID of "Sarah" walks from her current location to the bridge tile with an ID of "bridge01".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
move_character.txt · Last modified: 2023/04/03 13:19 by justin