Difference between revisions of "Stop"

From WikiManual
Jump to: navigation, search
 
Line 6: Line 6:
 
example:
 
example:
  
'''cond'''
+
'''cond'''
*.eye5 50 >
+
*.eye5 50 >
'''start'''
+
'''start'''
-1 .shoot store
+
-1 .shoot store
'''stop'''
+
'''stop'''
'''end'''
+
'''end'''
  
 
{{Flow Commands}}
 
{{Flow Commands}}

Latest revision as of 09:19, 1 July 2014

"stop" marks the end of a gene.

Post-2.4

"stop" is now slightly more complicated in how it works, but not in use. "stop" terminates the current gene execution.

example:

cond
*.eye5 50 >
start
-1 .shoot store
stop
end

Flow Commands:

cond
start else
stop
end