This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
move_player [2017/04/24 13:32] – justin | move_player [2021/04/21 18:36] (current) – 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 |
+ | ====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(" |
</ | </ | ||
- | // | + | // |
<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 cutscenes. | + | Use the **Move Player** function to move the [[player character]] around the [[map]] during scripted |
</ | </ | ||