Author Topic: Determining if other bots are under influence of venom  (Read 3651 times)

Offline Tj3

  • Bot Neophyte
  • *
  • Posts: 39
    • View Profile
Determining if other bots are under influence of venom
« on: March 17, 2010, 08:29:47 PM »
Is there a way to determine if another bot is under the influence of venom? I haven't found any information about it anywhere on the wiki...

Offline Houshalter

  • Bot Destroyer
  • ***
  • Posts: 312
    • View Profile
Determining if other bots are under influence of venom
« Reply #1 on: March 17, 2010, 08:43:52 PM »
Yes and no. Theres no .refparalyzed. Instead you have to use your memloc/memval. If your already using them for something else you might have a problem, though you can possibly set up a system to rotate between several different memloc/memval systems. Heres an example:

Code: [Select]
cond
.paralyzed *.memloc !=
start
.paralyzed .memloc store
stop

cond
*.memval 0 >
start
-InsertCodeHere-
stop

Offline Tj3

  • Bot Neophyte
  • *
  • Posts: 39
    • View Profile
Determining if other bots are under influence of venom
« Reply #2 on: March 17, 2010, 11:09:58 PM »
Oh, ok. I didn't think of that before. This will be extremely useful, hehe!