.out4
Output channel number 4 through sight: what you write here is read in its .in4 by the bot that is looking at you.
Facts
- Address
- 803
- Name
.out4- 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
.in4; 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 .out4 the engine copies into the .in4 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 .out4 at 0.
Having ten channels lets you publish several things at once without mixing them up. For example, a bot can publish here how much energy it lost in the last cycle (.pain), as a call for help:
start
*.pain .out4 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.