Jump to content
Sign in to follow this  
_qor

Forbid tanks to attack infantry units?

Recommended Posts

Hey folks,

I want to make several opposing infantry squads to advance as fast as possible. So I used delta formation and so on...

But what seems to slow down the advancement, are some tanks of the player's side. Firstly, the infantry gets down when a tank is around and secondly they get shot by them.

Is there a way to forbid tanks to attack infantry AND making infantry to ignore those tanks? setCaptive won't work!

Share this post


Link to post
Share on other sites

Not having the tanks there in the first place? You could try using things like disableAI "AUTOTARGET" but they'll probably still be ordered to attack a target by their group lead. If you had the group lead not autotarget they wouldn't attack anyone. Or just set the infantry to CARELESS behavior, they just won't attack anyone.

Really the thing is no infantry is gonna go frolicking around when tanks are anywhere near them and trying to force them to is inhumane. :)

Share this post


Link to post
Share on other sites

I was asking this myself anyway:

Is there no way in ArmA2 to set a specific unit's friend-enemy-relation to a specific unit? E.g. there is one BLUFOR unit in an OPFOR group and all OPFOR units accept the BLUFOR unit as friendly (or simply just dont attack) except one?

Share this post


Link to post
Share on other sites

You could group the BLUFOR with OPFOR making them OPFOR, but then the BLUFOR unit would actually be OPFOR and react as OPFOR would, ie, shooting BLUFOR.

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  

×