R0T 1 Posted May 21, 2014 Hey I'm relatively new too this editing and have a noobisch question. I want a OR condition check in a waypoint. So I wrote this code line. ((Check1) OR (Check2)) My problem is it fires only If both checks are true ...... I don't get it. I thought this fires if one of thme are true ??? Share this post Link to post Share on other sites
f2k sel 164 Posted May 21, 2014 Have they both been defined previously if not then it will fail until they are both set . Set them both to false in an init line. Share this post Link to post Share on other sites
R0T 1 Posted May 21, 2014 Haha thank you for that very quick replay - works ;) One more question - Is there any difference too do this in a game logic or in the init.sqf ? Share this post Link to post Share on other sites
f2k sel 164 Posted May 21, 2014 I can't say for sure but I've never had an issue doing either. Share this post Link to post Share on other sites
ProfTournesol 956 Posted May 21, 2014 I'd say it's cleaner in the init.sqf :) Share this post Link to post Share on other sites
f2k sel 164 Posted May 21, 2014 That's true and you know where they are and are less likely to get deleted. Share this post Link to post Share on other sites
R0T 1 Posted May 21, 2014 Ok then in the init! Thx again ! Sometimes it is complicated not losing track of all these init lines and triggers and units and and and ..... ;) Share this post Link to post Share on other sites