User Tools

Site Tools


crpl:docs:randunitcoords

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:randunitcoords [2018/02/20 16:30] – note about unit detection cornucaniscrpl:docs:randunitcoords [2021/02/05 11:21] (current) Karsten75
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  RandUnitCoords  ===== =====  RandUnitCoords  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| |Y, X coords of a random player unit |''"-- Y1 X1 ''|+| |Y, X coords of a random player unit |''-- Y1 X1 ''|
  
  
 === 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 ===
 <code>RandUnitCoords Swap ->targetX ->targetY</code> <code>RandUnitCoords Swap ->targetX ->targetY</code>
crpl/docs/randunitcoords.1519162212.txt.gz · Last modified: 2018/02/20 16:30 by cornucanis