Jump to content
Sign in to follow this  
SGT M

How to make Air units ignore a target?

Recommended Posts

Hey guys in this mission I am making I have a town filled with bad guys that then move to engage BluFor units after BluFor capture a nearby airfield (such as a counter-attack). The problem I have is that my BluFor air power wipes them out before they can move 100 metres. Is there any way to make air units in general ignore these town units?

Share this post


Link to post
Share on other sites

If you had an array of the town units called _townunits then you can use setCaptive to make the plane ignore them.

The thing though... is that everyone will ignore them. They become "NEUTRAL";

{_x setcaptive true} foreach [b]_townunits[/b];

Change the true to false to bring them back to being targets again.

Share this post


Link to post
Share on other sites
If you had an array of the town units called _townunits then you can use setCaptive to make the plane ignore them.

The thing though... is that everyone will ignore them. They become "NEUTRAL";

{_x setcaptive true} foreach [b]_townunits[/b];

Change the true to false to bring them back to being targets again.

Thanks but I tried this already, I guess I'll just have to work a way around. Thanks for your quick reply though! :)

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  

×