This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getallshipsinrange [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getallshipsinrange [2025/04/20 22:09] (current) – Clarified that it uses cell coordinates Argonwolf | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | Cell Coordinates, |
| === Description === | === Description === | ||
| + | Returns a list of all UIDs of the ships it can find within a specified range of a cell. | ||
| === Examples === | === Examples === | ||
| Line 14: | Line 15: | ||
| gsy = GetIntFromStack(); | gsy = GetIntFromStack(); | ||
| gsx = GetIntFromStack(); | gsx = GetIntFromStack(); | ||
| - | stack.Push(new Data(units)) | + | stack.Push(new Data(units)) |
| + | 0 0 50 false GetAllShipsInRange ->Ships //Returns a list of all the UIDs of the ship found within a circle range of 50 starting from 0,0 | ||
| </ | </ | ||