Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: kage on November 29, 2006, 07:11:09 PM
-
For some reason this bot I am working on doesn't fire. Everything else seems to work fine for it though
cond
*.robage 0 =
start
7 989 store
stop
cond
*.vtimer 0 =
start
*.thisgene 1 add .mkvirus store
stop
cond
7 *989 !=
start
50 .repro store
stop
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop
cond
*.eye5 50 >
*.refeye *.myeye !=
start
16 .shootval store
-1.shoot store
*.refvelup .up store
stop
cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop
cond
*.tiepres 0 !=
start
99 .repro store
stop
cond
*.tiepres 0 >
start
.tieval .tieloc store
1000 .tieval store
stop
-
It seems to fire in the simulation I put it in. Maybe it was a phantom problem
-
You are missing a space between -1 and .shoot.
-
You are missing a space between -1 and .shoot.
Thanks, it fires now.