sovietroll 11 Posted October 2, 2013 I need help. I have the following condition inside a trigger 1 < { (side _x == east) && (_x knowsAbout player > 2) } count allUnits This basically check if at least one enemy has detected player (with certain knowsabout value). I have know no clue why it is not working. It only work if I test one of the two conditions separately. Share this post Link to post Share on other sites
hridaysabz 14 Posted October 2, 2013 I'm not the best with code, but maybe you could use the present parameters? Select Blufor in activation and select detected detected by OPFOR Share this post Link to post Share on other sites
sovietroll 11 Posted October 2, 2013 the code is going to be inside a script so trigger parameters are not a solution here :( Share this post Link to post Share on other sites
lappihuan 178 Posted October 2, 2013 you could try this: _someoneIsNear = {(side _x == east) AND (_x knowsAbout player > 2)} count allUnits > 1; this is untested, but i think it should work. Share this post Link to post Share on other sites
shuko 59 Posted October 2, 2013 If this is for multiplayer, then it's better not use "player" in conditions unless you know what you are doing. Share this post Link to post Share on other sites
sovietroll 11 Posted October 2, 2013 solved. I am suppose to use greater than or equal to 1 instead of greater than1 Share this post Link to post Share on other sites