This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Movement Commands
| Arguments | Result | Notation | 
|---|---|---|
| X,Y coordinate to move to and the speed | x1 y1 n1 –  | 
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.
# 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 frame. RandUnitCoords 4 QueueMove RandUnitCoords 1 QueueMove