Difference between revisions of ".aim"
From WikiManual
m |
m |
||
Line 1: | Line 1: | ||
− | {{v221}} 18 [[.aim]] . | + | {{v221}} 18 [[.aim]] |
+ | :'''.aim''' directly reads the exact .aim angle 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 to effect a small turn ... | ||
+ | :in this case, a small turn to the left of the robot's current heading. | ||
+ | *.aim 10 add .setaim store |
Revision as of 15:37, 1 February 2006
18 .aim
- .aim directly reads the exact .aim angle of a robot.
Sysvars:
Shooting:
|
*.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 to effect a small turn ...
- in this case, a small turn to the left of the robot's current heading.
*.aim 10 add .setaim store