OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: j-man on 24 Jan 2004, 03:06:14

Title: trigger exclude people
Post by: j-man 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  :)
Title: Re:trigger exclude people
Post by: deaddog on 24 Jan 2004, 22:45:09
Try this out:

condition:  (count (thislist - [player])) == 0
Title: Re:trigger exclude people
Post by: Artak on 24 Jan 2004, 23:07:02
or
?({_x in thislist} WEST countside (thislist - [player])) == 0
 ???