This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
crpl:docs:queuemove [2013/11/30 13:29] – added example Clean0nion | crpl:docs:queuemove [2018/10/14 08:28] – fixed example kajacx | ||
---|---|---|---|
Line 8: | Line 8: | ||
=== 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 |
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 === | ||
- | < | + | < |
- | RandUnitCoords 4 QueueMove</ | + | # Once it has arrived, it picks another random unit and moves there at one pixel per frame. |
+ | RandUnitCoords 4 QueueMove | ||
+ | RandUnitCoords 1 QueueMove</ |