Jump to content
Sign in to follow this  
1para{god-father}

How to trigger just by Air

Recommended Posts

How can i activate a trigger by AIR i.e if a plane / heli fly over the trigger area it will set it off but if i drive /walk it will not

Thanks

Share this post


Link to post
Share on other sites

If you have already placed the units on the map, you can group(F2) the trigger to the units you want to activate the trigger with, you will the get some new opitons in "activated by" in the trigger.

Share this post


Link to post
Share on other sites

i believe this might work under its condition

_height = getPosATL someairunit

this && _height > 50

tho i believe theres a chance this may not fire off since height is only calculated and valued once. you may need to make a little script that monitors and updates the value of the height of a unit every so many seconds.

you can probably rework this so that it triggers for any airunit as defined under class "air"

Share this post


Link to post
Share on other sites

vehicle player iskindof "air"

If you put this in the trigger's condition field it should only be set off by you in a plane or chopper.

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  

×