Darwinbots Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New Installer for Dawinbots 2 Released.
Home
Help
Search
Members
View the memberlist
Search For Members
Login
Register
Darwinbots Forum
»
Bots and Simulations
»
DNA - General
»
Are .in1, .in2 ... set to 0 when *.eye5 0 =?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Are .in1, .in2 ... set to 0 when *.eye5 0 =? (Read 3413 times)
Welwordion
Bot Destroyer
Posts: 325
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?
Logged
PurpleYouko
Bot God
Posts: 2556
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
Logged
There are 10 kinds of people in the world
Those who understand binary.
and those who don't
PY
Endy
Bot Overlord
Posts: 852
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
»
Logged
Print
Pages: [
1
]
« previous
next »
Darwinbots Forum
»
Bots and Simulations
»
DNA - General
»
Are .in1, .in2 ... set to 0 when *.eye5 0 =?