User Tools

Site Tools


crpl:docs:queuemove

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
crpl:docs:queuemove [2014/10/01 15:02] – external edit 127.0.0.1crpl:docs:queuemove [2021/02/05 11:43] (current) – Rmoved discussion tag Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#movement_commands|Movement Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#movement_commands|Movement Commands]]
 =====  QueueMove  ===== =====  QueueMove  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|X,Y coordinate to move to and the speed| |''x1 y1 n1 -- ''|+|X, Yspeed| |''x1 y1 n1 -- ''|
  
  
 === Description === === Description ===
-X and Y are map coordinates and the speed is in pixels per second.  +X and Y are map coordinates and the speed is in pixels per frame (1 second = 30 frames).  
-Queued movements go into a queue and are processed one at a time.+Queued movements go into a queue and are processed one at a time. 
 === Examples === === Examples ===
-<code># Picks a random unit then goes there at 4 pixels per second.  +<code prpl># Picks a random unit then goes there at 4 pixels per frame.  
-# Once it has arrived, it picks another random unit and moves there at one pixel per second.+# Once it has arrived, it picks another random unit and moves there at one pixel per frame.
 RandUnitCoords 4 QueueMove RandUnitCoords 4 QueueMove
 RandUnitCoords 1 QueueMove</code>  RandUnitCoords 1 QueueMove</code> 
crpl/docs/queuemove.1412190170.txt.gz · Last modified: 2014/10/01 15:02 by 127.0.0.1