Difference between revisions of ".numties"

From WikiManual
Jump to: navigation, search
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The condition *.numties tells the DNA how many ties are currently attached to the robot. In this instance no attempt is made to feed unless at least one tie is detected.
+
The condition *.numties tells the [[Robot_DNA|DNA]] how many ties are currently attached to the robot. In this instance no attempt is made to feed unless at least one tie is detected.
 +
 
 +
cond
 +
*.numties 1 >=
 +
start
 +
-1 .tieloc store
 +
-1000 .tieval store
 +
1 .tienum store
 +
stop
 +
 
 +
 
 +
{{tie}}
 +
[[Category:Tie]]

Latest revision as of 16:07, 23 July 2008

The condition *.numties tells the DNA how many ties are currently attached to the robot. In this instance no attempt is made to feed unless at least one tie is detected.

cond
*.numties 1 >=
start
-1 .tieloc store
-1000 .tieval store
1 .tienum store
stop


Ties:

.tie 330
.stifftie 331
.numties 466
.tiepres 454
.tienum 455
.readtie 471
.deltie 467
.tieloc 452
.tieval 453
Multibot