This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:randunitcoords [2013/01/14 19:01] – created chani | crpl:docs:randunitcoords [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | <- [[crpl: | 
| + | =====  RandUnitCoords | ||
| + | |||
| + | ^Arguments^Result^Notation^ | ||
| + | | |Y, X coords of a random player unit |'' | ||
| + | |||
| + | |||
| + | === Description === | ||
| + | Pushes the x and y coordinate of a randomly chosen player unit. -1, -1 will be pushed if no unit is found. | ||
| + | |||
| + | **Note:** This command will also detect Message Artifacts. | ||
| + | === Examples === | ||
| + | < | ||
| + | < | ||
| + | CurrentCoords RandUnitCoords 1 10 CreateSpore</ | ||