This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:randcoordsinrange [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:randcoordsinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | |X Y Range|X Y| [int int float - int int ] | |
| === Description === | === Description === | ||
| + | Gets random cell coordinates in range. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | gsy = GetIntFromStack(); | + | 250 200 25 RandCoordsInRange ->x ->y #Gets random coordinates in a range of 25 starting at 250 200 |
| - | gsx = GetIntFromStack(); | + | |
| - | stack.Push(new Data(i1)); | + | |
| - | stack.Push(new Data(i2)); | + | |
| - | + | ||
| </ | </ | ||