Bots and Simulations > DNA - General

Are .in1, .in2 ... set to 0 when *.eye5 0 =?

(1/1)

Welwordion:
I just wanted to know if the .in variables are reset to zero once a  bot sees no other bot in his .eye5?

PurpleYouko:
Ican't remember for certain but I think the in variables get reset whenever the bot sees something in eye5. The out variables stay put indefinitely.

In and out are form before my time and I never really used them much

Endy:
Pretty sure they're not reset, until something new is seen. Normally an eye5 checker condition is used to cancel gene activation.


--- Code: ---cond
*.eye5 45 >
*.in1 *.out1 !=
start
-1 .shoot store
stop
--- End code ---

Navigation

[0] Message Index

Go to full version