Home   Help Search Login Register  

Author Topic: »count units group« - unreliable?  (Read 528 times)

0 Members and 2 Guests are viewing this topic.

Offline Fire-Fox

  • Members
  • *
  • Violence is just a friend walking on the right way
»count units group« - unreliable?
« on: 28 Sep 2003, 22:44:58 »
Hi everybody! :)

I've come across a strange thing:
I have a trigger that will (erm... SHOULD ::)) activate when a group called Group2 has less than for example three units in it. In preview, I shoot some guys in this group, but although two of three members are dead for good the trigger sometimes activates a minute or so after I've shot them! And as if this wasn't weird enough, sometimes it only takes about five seconds for the trigger to activate, and sometimes it even activates momentarily- as it should always do...  ::)

Does anyone know anything about this? Is the "count units..." command unrealiable or something? What do you use instead then?

Thanks for any answers! :)

deaddog

  • Guest
Re:»count units group« - unreliable?
« Reply #1 on: 29 Sep 2003, 02:09:54 »
It is reliable.  It only works when the leader of the group realizes they are dead.  Try this instead:

("alive _x" count units groupname) < 3

This works instantly.

Offline Fire-Fox

  • Members
  • *
  • Violence is just a friend walking on the right way
Re:»count units group« - unreliable?
« Reply #2 on: 29 Sep 2003, 23:04:42 »
Thanks, man! 8)
Ya helped me alot :)