_dtcteamid
Value Type
| numeric |
Description
When a robot detects another object, the _dtcteamid variable is set to the team id of the detected object. Robots can detect other robots, cookies, mines, and walls. When a robot detects an object that is not a member of a team, _dtcteamid is set to 0. Since walls have no team ids, _dtcteamid is set to -1 when a wall is detected.
See Also
_dtcbearing, _dtcheading, _dtcenergy, _dtcid, _dtcrobot, _dtccookie, _dtcmine, _dtcwall