\b;Instruction \c;aim\n;
Syntaxe:
\s;\c;aim ( y, x );\n;

This instruction sets the vertical and the horizontal angle of the cannon. The following robots are equipped with a cannon: 
o  \l;Robot shooter\u object\botfr;
o  \l;Robot orgaShooter\u object\botor;
o  \l;Robot phazer\u object\botphaz;

When controlling the robot through programming, the gun can be also turned left or right by turning the whole robot with the instruction \c;\l;turn\u cbot\turn;\n;.

\t;y: \c;\l;float\u cbot\float;\n;
Angle en degrés du canon. Un angle positif oriente le canon vers le haut. Pour les robots shooter, la valeur doit être comprise entre \c;-10\n; et \c;+20\n; degrés. Pour les robots orgaShooter, la valeur doit être comprise entre \c;-20\n; et \c;+20\n; degrés. Le robot phazer accepte des valeurs comprises entre \c;-20\n; et \c;45\n; degrés.

\t;x: \c;\l;float\u cbot\float;\n; (default value: \c;0\n;)
Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from \c;-40\n; to \c;+40\n; degrees for all shooters.

\t;Valeur retournée: \c;\l;int\u cbot\int;\n;
Zéro si tout est ok, ou valeur non nulle si une erreur est intervenue.
\c;== 0 \n;angle atteint
\c;!= 0 \n;rotation impossible

\t;Voir aussi
\l;Programmation\u cbot;, \l;types\u cbot\type; et \l;catégories\u cbot\category;.
