Jump to content

MitchyG117

Make Infantry Ignore Helicopters?

Recommended Posts

The title is pretty much the question.

 

I would like OPFOR and BLUFOR Helicopters to duke it out in the skies without causing the infantry to be distracted from their ground battle. As of right now, having ground units trying to fight each other pans out kinda awkwardly when air units are fighting nearby because they'll stop paying attention to the enemy squad in front of them and start staring/firing at the helicopter 

Share this post


Link to post
Share on other sites

You could try making the helicopters fly high enough with flyinheight command but I'm not sure how well that works

Share this post


Link to post
Share on other sites

@MitchyG117

Try making your units forget target.

Probably this one:
 

onEachFrame { enemyBob forgetTarget player };
onEachFrame { _unit forgetTarget _helo };



I don't know if that will be processor intensive. Maybe depending on how many NPC's.

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

×