_dtcenergy
Value Type
| numeric |
Description
When a robot detects another object, the _dtcenergy variable is set to the energy level of the detected object. Robots can detect other robots, cookies, mines, and walls. All objects, including mines, report positive energy values. Since walls have no energy, _dtcenergy is set to 0 when a wall is detected.
See Also
_dtcbearing, _dtcheading, _dtcid, _dtcteamid, _dtcrobot, _dtccookie, _dtcmine, _dtcwall