Difference between revisions of ".edge"
From WikiManual
m |
m |
||
Line 3: | Line 3: | ||
Example: | Example: | ||
'this will turn a bot a random number of degrees upon hitting an edge. | 'this will turn a bot a random number of degrees upon hitting an edge. | ||
− | 314 rnd .aimdx *.edge mult store | + | 314 [[rnd]] [[.aimdx]] *.edge [[mult]] [[store]] |
[[Talk:.edge|Edge Question(s)]] | [[Talk:.edge|Edge Question(s)]] |
Revision as of 10:50, 25 December 2005
.edge (.214) - reads back a value of 1 if the bot has hit the edge of the screen. Most commonly used to turn bot specified number of degrees in order for it to face away from the edge. Does not activate if torroidal mode is enabled.
Example:
'this will turn a bot a random number of degrees upon hitting an edge. 314 rnd .aimdx *.edge mult store