This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:randunitcoords [2018/02/20 21:30] – note about unit detection cornucanis | crpl:docs:randunitcoords [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
<- [[crpl: | <- [[crpl: | ||
===== RandUnitCoords | ===== RandUnitCoords | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | |Y, X coords of a random player unit |'' | + | | |Y, X coords of a random player unit |'' |
=== Description === | === Description === | ||
- | Pushes the x and y coordinate of a randomly chosen player unit. -1,-1 will be pushed if no unit is found. | + | 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. | + | **Note:** This command will also detect Message Artifacts. |
=== Examples === | === Examples === | ||
< | < |