.out5
Output channel number 5 through sight: what you write here is read in its .in5 by the bot that is looking at you.
Facts
- Address
- 804
- Name
.out5- 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
.in5; 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 .out5 the engine copies into the .in5 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 .out5 at 0.
Having ten channels lets you publish several things at once without mixing them up. For example, a bot can publish here what reaches it through its own .in1, that is, the species code of what is in front of it:
start
*.in1 .out5 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.