This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:navigation [2015/01/14 23:40] 127.0.0.1 external edit |
component:navigation [2015/05/10 22:15] rashy |
||
---|---|---|---|
Line 12: | Line 12: | ||
- `getRange(): number` | - `getRange(): number` | ||
Gets the effective range of the upgrade. If the absolute value of the relative X or Z coordinate becomes larger than this, `getPosition()` will fail. | Gets the effective range of the upgrade. If the absolute value of the relative X or Z coordinate becomes larger than this, `getPosition()` will fail. | ||
- | | + | - `findWaypoints(range: number): table` |
+ | Finds all waypoint blocks within the specified range. Returns a table containing the label of the waypoint, and coordinates relative to the robot or drone. | ||
+ | //**Note:** Requires version 1.5.9 of OpenComputers.// | ||
---- | ---- | ||
{{page>component:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>component:contents&noheader&noeditbutton&nouser&nofooter}} |