Jump to content
Sign in to follow this  
namreg

A trigger activated in 2nd floor..

Recommended Posts

I want my guys to land with little birds over a 4 floor building in Corazol and find Johnny at 2nd floor after looking after him in the floors above... and at that point I want Johnny to join my team so we can leave safely with the birds on top of the building... is that possible?huh.gif To place a trigger not only in the XY axis but in Z too?huh.gif

Share this post


Link to post
Share on other sites

You gotta restrict the condition.

place the trigger like you want it in the X-Y axes and then restrict it in the condition. instead of "this" u use:

this &&( { ( getPos _x select 2 )>5.1 && ( getPos _x select 2 )<5.2 }count thislist > 0 )

Otherwise it would be more easy to use "knowsAbout" or "nearTargets" or a DETECTED-Trigger;)

Share this post


Link to post
Share on other sites

You're so right.... this is when they say that you're so obsessed with something tnah the tree doesn´t let you see the whole forest. rofl.gif

Thanks...

Share this post


Link to post
Share on other sites

A'ight. Just in case you did copy that line the way it has been: The OR ( || ) wasn't right there, of course. Has to be an AND ( && ) instead.

But I think you already figured that wink_o.gif

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  

×