User Tools

Site Tools


stop_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
stop_player [2020/03/16 11:30] justinstop_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 before the player is stopped.+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 before the player is stopped.
  
 ====Signature:==== ====Signature:====
Line 18: Line 18:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-stop_player()+stop_player();
 </code> </code>
 //Results:// The player is stopped. //Results:// The player is stopped.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Stop Player** function to force the player to stop on their current tile prior to a scripted event or cutscene taking place.+Use the **Stop Player** function to force the player to stop on their current [[tile]] prior to a scripted event or cutscene taking place.
 </WRAP> </WRAP>
  
stop_player.1584383418.txt.gz · Last modified: 2020/03/16 11:30 by justin