Welcome To Darwinbots > Newbie

Enemy Recognition.

<< < (3/3)

bacillus:

--- Quote from: Chlorate ---Thanks for the boot in the right direction.

Although I couldn't make head nor tail of OCULUS II.  
--- End quote ---

I didn't expect you to understand. It took me half an hour to write that command, and then I had to start all over again because an add was missing somewhere. Basically it just compresses the genes needed for a full comparison between each set of eyes into one super-complicated command. If you want to use it, copy and paste it into a gene that activates every second. Then have something like so:

cond
 *.refeye 0 >
 'insert recognition here
start
 *.refxpos *.refypos angle .setaim store
stop

This will make the bot only turn towards nonspecs.

Navigation

[0] Message Index

[*] Previous page

Go to full version