nk3nny / LambsDanger

AI enhancement mod for Arma 3
Other
105 stars 40 forks source link

Fix issues relating to constant dismounts #374

Closed nk3nny closed 9 months ago

nk3nny commented 10 months ago

This patches some of the issues pertaining to constant dismounting of units.

It does this by rethinking how information is shared, and fixing a bug in doFleeing (which would not take into account the units current situation very well). Information is now only passed for units that are within "combatShareRange" ~ 200 meters by default. Units outside this distance, but within radio range, will unless busy, instead turn towards the direction of the unit calling for aid.

Hiding is also tweaked to make that contact response more effective, which again translates into fewer repetitive executions of said command.