Bots and Simulations > Bot Tavern

Could you help me out with my bot?

<< < (2/2)

Numsgil:
*.eye5 0 > means that you see something.

*.refxpos 0 > means that I sense another bot.

*.refeye *.myeye != is the actual conspec check.

*.refxpos *.refypos angle .setaim store is the reaction.

So what you want is something like:

*.refxpos 0 >
*.refeye *.myeye != and
*.refxpos *.refypos angle .setaim store

That will only work, though, if your enemise have *.eye statements in their DNA.  If they don't, you'll need to use some of the other conspec sysvars (refup, etc.)

Navigation

[0] Message Index

[*] Previous page

Go to full version