User Tools

Site Tools


move_player

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_player [2017/04/24 14:42] justinmove_player [2018/03/16 09:46] justin
Line 4: Line 4:
 Moves the player to the specified tile at their assigned movement speed. If a walkable path is not open then the player will remain at their current position. The player's movement must first be locked before using this function. Moves the player to the specified tile at their assigned movement speed. If a walkable path is not open then the player will remain at their current position. The player's movement must first be locked before using this function.
  
 +====Signature:====
 <code python> <code python>
 move_player(tile_id) move_player(tile_id)
Line 19: Line 20:
 move_player("bridge01") move_player("bridge01")
 </code> </code>
-//Results://+//Results:// The player character walks from their current location to the bridge tile with an ID of "bridge01".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
move_player.txt · Last modified: 2021/04/21 18:36 by justin