This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
stop_player [2017/05/28 11:55] – external edit 127.0.0.1 | stop_player [2023/01/25 21:39] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Stops the player and cancels any queued movement. If the player is currently in the process of walking to a new tile, that movement will first be completed | + | Stops the player and cancels any queued movement. If the player is currently in the process of walking to the next adjacent [[tile]] in their planned path, that movement will first be completed |
+ | ====Signature: | ||
<code python> | <code python> | ||
stop_player() | stop_player() | ||
Line 12: | Line 13: | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | This function | + | [[set_player_movement_locked|Lock/ |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
- | stop_player() | + | stop_player(); |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Stop Player** function to force a static view of the current | + | Use the **Stop Player** function to force the player to stop on their current |
</ | </ | ||
Line 35: | Line 36: | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki:stop_player_demo.gif? | + | {{:wiki:fade_out_demo.gif? |
</ | </ | ||
</ | </ |