Home   Help Search Login Register  

Author Topic: trigger exclude people  (Read 395 times)

0 Members and 1 Guest are viewing this topic.

j-man

  • Guest
trigger exclude people
« on: 24 Jan 2004, 03:06:14 »
I have a trigger that detects if all west units are not present. What I need is for the trigger to exclude the player. Would something like this work?
Code: [Select]
this && (!player present) || this && (player present)  ???

Thanks is advance  :)

deaddog

  • Guest
Re:trigger exclude people
« Reply #1 on: 24 Jan 2004, 22:45:09 »
Try this out:

condition:  (count (thislist - [player])) == 0

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:trigger exclude people
« Reply #2 on: 24 Jan 2004, 23:07:02 »
or
?({_x in thislist} WEST countside (thislist - [player])) == 0
 ???
Not all is lost.