Bots and Simulations > DNA - General

It doesnt work.

(1/1)

darkfrost1802:
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?

Numsgil:
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.

darkfrost1802:
Thanks I got it working!

Navigation

[0] Message Index

Go to full version