Difference between revisions of ".setaim"
From WikiManual
m |
m |
||
Line 1: | Line 1: | ||
− | {{v221}} 19 [[.setaim]] directly sets the exact | + | {{v221}} 19 [[.setaim]] directly sets the exact orientation/heading of a robot. |
==[[Sysvar]]s:== | ==[[Sysvar]]s:== | ||
Line 11: | Line 11: | ||
1256 rnd .setaim store --- random 0-360 degrees | 1256 rnd .setaim store --- random 0-360 degrees | ||
+ | |||
+ | :can be used in conjunction with [[.aim]] 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:41, 1 February 2006
19 .setaim directly sets the exact orientation/heading of a robot.
Sysvars:
Shooting:
|
1256 (or 0) .setaim store ---> towards right of screen 314 .setaim store --- up 628 .setaim store --- to the left of screen 942 .setaim store --- down
1256 rnd .setaim store --- random 0-360 degrees
- can be used in conjunction with .aim 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