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
»
It doesnt work.
« previous
next »
Print
Pages: [
1
]
Author
Topic: It doesnt work. (Read 7918 times)
darkfrost1802
Bot Neophyte
Posts: 7
It doesnt work.
«
on:
June 23, 2017, 08:16:48 PM »
So I was making MyFirstBot(its name) and I'm trying to make Animal_Minimalis eat is food(plants) into extinction, so I added this line of code
*.totalbots .totalmyspecies sub > 20
Into gene 2's conditions, any help?
Logged
Numsgil
Administrator
Bot God
Posts: 7742
Re: It doesnt work.
«
Reply #1 on:
June 24, 2017, 12:13:18 PM »
If you're doing what I think you are it should be
*.totalbots *.totalmyspecies sub > 20
The asterisk is important or else you're just pointing to a memory location and not the value in the memory location.
If it still doesn't work it's possible those sysvars are broken. Use the bot memory inspection tool and see if the variables in those sysvar locations look right.
Logged
darkfrost1802
Bot Neophyte
Posts: 7
Re: It doesnt work.
«
Reply #2 on:
June 24, 2017, 07:08:46 PM »
Thanks I got it working!
Logged
Print
Pages: [
1
]
« previous
next »
Darwinbots Forum
»
Bots and Simulations
»
DNA - General
»
It doesnt work.