Difference between revisions of ".fixed"

From WikiManual
Jump to: navigation, search
m
m (copy-edit)
 
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.
+
You can fix a bot by putting a positive number in [[.fixpos]]. You can unfix a bot by putting 0 in .fixpos.
  
  

Latest revision as of 22: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