Difference between revisions of ".fixed"
From WikiManual
m (copy-edit) |
|||
(One intermediate revision by one other user not shown) | |||
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 positive 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 |
Latest revision as of 21:43, 26 June 2008
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 positive 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