In and Out

From WikiManual
Revision as of 02:18, 27 September 2005 by 66.91.141.218 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This refers to the in1, in2, out1, out2 sysvar locations. The number stored at out1 or out2 can be read by any robot viewing the bot, with the value arriving at out1 or out2 respectivly.

A problem similar to the one facing bots using memloc/memval for identification is that with the simple code:

*.in1 .out1 store

An enemy bot can seem like family. Of course with randomly(rnd) changing their value via inc/dec an enemy bot will waste Energy storing these.