Author Topic: Defence against enemy ties  (Read 2952 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Defence against enemy ties
« on: September 12, 2014, 11:40:43 AM »
Is there a way for a bot to sense when a tie has been attached to it?
The internet is corrupt and controlled by criminally minded people.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Defence against enemy ties
« Reply #1 on: September 12, 2014, 11:46:23 AM »
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.
« Last Edit: September 12, 2014, 11:47:59 AM by Testlund »
The internet is corrupt and controlled by criminally minded people.

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Re: Defence against enemy ties
« Reply #2 on: September 12, 2014, 12:16:53 PM »
*.tiepres .deltie store

or

cond
*.numties 0 >
start
(do something)
stop
Sometimes you win, and sometimes you lose...

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Defence against enemy ties
« Reply #3 on: September 12, 2014, 03:36:25 PM »
Thanks!  :)
The internet is corrupt and controlled by criminally minded people.