Jump to content
Sign in to follow this  
R0T

Trigger condition help

Recommended Posts

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

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

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×