nk3nny / LambsDanger

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

Fix issues relating to constant dismounts #374

Closed nk3nny closed 8 months ago

nk3nny commented 9 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.