Difference between revisions of ".fixed"
From WikiManual
m |
|||
Line 1: | Line 1: | ||
A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga) | A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga) | ||
+ | |||
+ | You can fix a bot by putting a postive number in [[.fixpos]]. You can unfix a bot by putting 0 in .fixpos. | ||
+ | |||
+ | |||
+ | This simple code will unfix a stuck bot: | ||
+ | |||
+ | .fixpos *.fixed mult dec |
Revision as of 11:15, 19 February 2006
A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga)
You can fix a bot by putting a postive number in .fixpos. You can unfix a bot by putting 0 in .fixpos.
This simple code will unfix a stuck bot:
.fixpos *.fixed mult dec