Bots and Simulations > DNA - General

Defence against enemy ties

(1/1)

Testlund:
Is there a way for a bot to sense when a tie has been attached to it?

Testlund:
This works if the bot sees another bot that can shoot ties.

cond
 *.eyef 0 >
 *.reftie 0 >
start
 2000 .mkslime store
stop

It's just that keeping the slime up is very nrg consuming. So I was thinking it would be more economical if the bot doesn't create slime until a tie has been fired.

MacadamiaNuts:
*.tiepres .deltie store

or

cond
*.numties 0 >
start
(do something)
stop

Testlund:
Thanks!  :)

Navigation

[0] Message Index

Go to full version