Author Topic: Are .in1, .in2 ... set to 0 when *.eye5 0 =?  (Read 3413 times)

Offline Welwordion

  • Bot Destroyer
  • ***
  • Posts: 325
    • View Profile
Are .in1, .in2 ... set to 0 when *.eye5 0 =?
« on: May 12, 2006, 12:22:04 PM »
I just wanted to know if the .in variables are reset to zero once a  bot sees no other bot in his .eye5?

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Are .in1, .in2 ... set to 0 when *.eye5 0 =?
« Reply #1 on: May 13, 2006, 12:12:47 PM »
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
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Are .in1, .in2 ... set to 0 when *.eye5 0 =?
« Reply #2 on: May 13, 2006, 07:34:05 PM »
Pretty sure they're not reset, until something new is seen. Normally an eye5 checker condition is used to cancel gene activation.

Code: [Select]
cond
*.eye5 45 >
*.in1 *.out1 !=
start
-1 .shoot store
stop
« Last Edit: May 14, 2006, 05:12:00 AM by Light »