This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:randcoordsinrange [2013/01/14 19:07] – created chani | crpl:docs:randcoordsinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | <- [[crpl: |
| + | ===== RandCoordsInRange | ||
| + | |||
| + | ^Arguments^Result^Notation^ | ||
| + | |X,Y center point and a range|Random Map X and Y coords within range of source point |'' | ||
| + | |||
| + | |||
| + | === Description === | ||
| + | Pushes two random map coordinates to the stack where the coordinates are within ' | ||
| + | distance from the specified X,Y coordinates. | ||
| + | === Examples === | ||
| + | < | ||
| + | 25 25 12 RandCoordsInRange ->y ->x | ||
| + | |||
| + | <-x <-y 20 AddCreeper | ||
| + | </ | ||
| + | |||