Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: trigger exclude people  (Read 616 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.