Difference between revisions of ".edge"

From WikiManual
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.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.
+
.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:
 
Example:
  '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
+
this will turn a bot a random number of degrees (0-90 Clockwise) upon hitting an edge.
  
[[Talk:.edge|Question(s)]]
+
[[Talk:.edge|Edge Question(s)/Discussion]]

Latest revision as of 11:55, 31 January 2006

.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:

314 rnd .aimdx *.edge mult store

this will turn a bot a random number of degrees (0-90 Clockwise) upon hitting an edge.

Edge Question(s)/Discussion