OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: BensTooCool on 28 Mar 2007, 23:56:39

Title: need help setting a trigger condition
Post by: BensTooCool on 28 Mar 2007, 23:56:39
I'm trying to set a trigger that will activate when anyone 1 of 3 variables are true, I tried putting this in the condition field: "obj0 or obj1 or obj2" but this just has the same effect as using "obj0 and obj1 and obj2"
Title: Re: need help setting a trigger condition
Post by: bardosy on 29 Mar 2007, 09:10:37
Try to init these variables to false first!!!

Use init.sqs:
obj1 = false
obj2 = false
obj3 = false


and later you can use   obj1 or obj2 or obj3