_cldenergy


Value Type

numeric

Description

When a robot collides with another object, the _cldenergy variable is filled the energy level of that object. Robots can collide with energy missiles, other robots, cookies, mines, and walls. All objects, including mines, report positive energy values. Since walls have no energy, _cldenergy is set to 0 when a wall collision occurs.

See Also

_cldheading, _cldbearing, _cldid, _cldteamid, _cldrobot, _cldmissile, _cldcookie, _cldmine, _cldwall