OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ace Productions on 01 Nov 2003, 19:26:29

Title: Trigger condition question?
Post by: Ace Productions on 01 Nov 2003, 19:26:29
I would like to set as a condition in a trigger that GROUPA should be in PARCAR. I've already tried:

{_x In PARCAR} ForEach Units GROUPA

or

(Units GROUPA) In Car

but nothing! Can someone please help me?
Title: Re:Trigger condition question?
Post by: Chris Death on 02 Nov 2003, 17:37:17
"vehicle _x == PARCAR" count (units GROUPA) == count (units GROUPA)

~S~ CD
Title: Re:Trigger condition question?
Post by: Ace Productions on 04 Nov 2003, 06:26:16
Thanks a lot Chris. I'll try it out later on and then I'll solve the thread.
Title: Re:Trigger condition question?
Post by: Ace Productions on 05 Nov 2003, 23:42:14
A million thanks Chris! Works perfectly! Thanks again! ;D