This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
move_player [2017/04/24 14:49] – justin | move_player [2020/02/14 11:54] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | 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' | + | Moves the player to the specified tile at their assigned movement speed. If a walkable path is not open the player will remain at their current position. The player' |
+ | ====Signature: | ||
<code python> | <code python> | ||
- | move_player(tile_id) | + | move_player(tile) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |tile_id|ID of the destination tile.|[[String]]|Yes| | + | |tile|ID or coordinate |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 16: | Line 17: | ||
====Example: | ====Example: | ||
- | < | + | < |
move_player(" | move_player(" | ||
</ | </ | ||
Line 22: | Line 23: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Move Player** function to move the player character around the map during scripted | + | Use the **Move Player** function to move the player character around the map during scripted |
</ | </ | ||