User Tools

Site Tools


crpl:docs:queuemove

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Movement Commands

QueueMove

ArgumentsResultNotation
X,Y coordinate to move to and the speed x1 y1 n1 –

Description

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.

Examples

# Picks a random unit then goes there at 4 pixels per second. 
# Once it has arrived, it picks another random unit and moves there at one pixel per second.
RandUnitCoords 4 QueueMove
RandUnitCoords 1 QueueMove
crpl/docs/queuemove.1539520041.txt.gz · Last modified: 2018/10/14 08:27 by kajacx