_gunaim


Value Type

numeric  [0-359]

Description

Current angle of a robot's gun. Values are in degrees ranging from 0 to 359 inclusive. A _gunaim of 0 is towards the top of the arena, or map north. This value is changed by rotation commands.

See arena attributes for a description of angles.

See Also

gunleft, gunright, _bodyaim, _radaraim