Jump to content
kaylebd06

Trigger Detecting Air Units

Recommended Posts

How do I have a trigger detect air units? I've only seen forums that show how to ignore air units, like "{isTouchingGround _x} count thisList > 0". What is the opposite of this lol?

Share this post


Link to post
Share on other sites
{!isTouchingGround _x} count thisList > 0

But isTouchingGround can be unreliable.

this && {((getPosATL _x) select 2) > 3} count thislist > 0

Checks initial activation (blufor present or whatever), then checks if it is above a certain altitude. In this case, three meters. Depending on your needs, this may need to be increased to prevent detecting infantry in taller buildings.

  • Like 1

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

×