User Tools

Site Tools


crpl:docs:randunitcoords

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Unit Commands

RandUnitCoords

ArgumentsResultNotation
X, Y coords of a random player unit “– X1 Y1

Description

Pushes the x and y coordinate of a randomly chosen player unit. -1,-1 will be pushed if no unit is found.

Examples

# Creates a spore and sends it to a random player unit.
CurrentCoords RandUnitCoords 1 10 CreateSpore
crpl/docs/randunitcoords.1385834240.txt.gz · Last modified: 2014/10/01 15:02 (external edit)