Difference between revisions of ".aim"

From WikiManual
Jump to: navigation, search
m
m (typo fix)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{v221}} 18 [[.aim]] ... is this documentated anywhere?
+
{{v221}} 18 [[.aim]]  
 +
:'''.aim''' directly reads the exact orientation/heading of a robot.  
  
 
==[[Sysvar]]s:==
 
==[[Sysvar]]s:==
 
{{Shooting}}
 
{{Shooting}}
 +
 +
----
 +
 +
 +
'''<nowiki>*.aim</nowiki>''' will read the robot's orientation.
 +
 +
:0 (or 1256)  ---> screen right 
 +
:314  ---  screen up
 +
:628  ---  screen left
 +
:942  ---  screen down
 +
 +
 +
:can be used in conjunction with [[.setaim]] to effect a small turn ...
 +
:in this case, a small turn of 10 to the left of the robot's current heading.
 +
*.aim 10 [[add]] [[.setaim]] [[store]]

Latest revision as of 20:03, 1 February 2006

V221.gif 18 .aim

.aim directly reads the exact orientation/heading of a robot.

Sysvars:

Shooting:

.shoot 7 .shootval 8
.kills 220
.backshot 900 .aimshoot 901


*.aim will read the robot's orientation.

0 (or 1256) ---> screen right
314 --- screen up
628 --- screen left
942 --- screen down


can be used in conjunction with .setaim to effect a small turn ...
in this case, a small turn of 10 to the left of the robot's current heading.
*.aim 10 add .setaim store