Muzza 0 Posted May 18, 2007 Am i totally incompetant or does the OR function not work. If i have one on act. A1=true, and one A2=true, and put into another trigger's condition field A1 or A2, the trigger only seems to activate when both are completed. Share this post Link to post Share on other sites
benreeper 0 Posted May 18, 2007 OR is not a function and I can tell you, with all certainty, that it indeed works. I would say to initialize both values to false in a trigger first. You an see if the vars are valid by.. hint format["%1, %2", A1,A2]; You should see true or false. --Ben Share this post Link to post Share on other sites
Op4 BuhBye 0 Posted May 18, 2007 Im not sure about ArmA but in OFP "OR" didn't work in triggers you had to use a bouble pipe "||". Share this post Link to post Share on other sites
baddo 0 Posted May 18, 2007 "||" and "OR" both work... initialize your boolean variables in init.sqs/init.sqf and try again (like set them to false for example). Share this post Link to post Share on other sites
Taurus 20 Posted May 18, 2007 Yep Baddo is correct. The two values you are trying to compare aren't initialized as they should be. You are trying to compare scalarboollolercopter=true or scalarboollolercopter=true Share this post Link to post Share on other sites