Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
component:navigation [2014/07/09 23:56]
sangar created
component:navigation [2015/05/10 22:15]
rashy
Line 1: Line 1:
-This is the component provided by the [[Navigation Upgrade|Items#​navigation-upgrade]].+Component: Navigation 
 +=================== 
 +This is the component provided by the [[item:​navigation_upgrade|Navigation Upgrade]].
  
 Component name: `navigation`.  ​ Component name: `navigation`.  ​
Line 10: 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}}