This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:queuemove [2013/12/01 00:56] – Clean0nion | crpl:docs:queuemove [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | + | |
| <- [[crpl: | <- [[crpl: | ||
| =====  QueueMove | =====  QueueMove | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | |X,Y coordinate to move to and the speed| |'' | + | |X, Y, speed| |'' | 
| === 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 === | ||
| - | < | + | < | 
| - | #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</ | RandUnitCoords 1 QueueMove</ | ||