.out6
Output channel number 6 through sight: what you write here is read in its .in6 by the bot that is looking at you.
Facts
- Address
- 805
- Name
.out6- Kind
- Command: the bot writes it and the engine reads it and usually consumes it
- Group
- Inputs and outputs
- Written by
- Your DNA. The bot that has you in its focus eye, or the one that collides with you, receives it in its
.in6; it reads it in the next cycle. - Cleared
- Nobody: the value stays published until you change it. A child is born with 0.
- Range
- −32000 to 32000
- Mutations
- picked as a store target
It works the same as .out1: what you store in .out6 the engine copies into the .in6 of any bot that has you in its focus eye, or that collides with you, and it reads it in the next cycle. The engine never clears it: the value stays published until you change it. A child is born with .out6 at 0.
Having ten channels lets you publish several things at once without mixing them up. For example, a bot can publish here the type of the shot that just hit it (.shflav; 0 if none hit it), as an alarm signal:
start
*.shflav .out6 store
stopIf what you publish changes, you have to write it again every cycle, as here: the engine doesn't update it on its own. See Inputs and outputs.