I’m not sure if there is a setting to set it up so that AIs can also use countermeasures as well. Some advice would be appreciated :)
Try checking “allowAntimissile” within unit properties. Idk if it works though.
Appreciate the effort, but that didn’t do it. But weirdly enough, them shooting missiles kinda acts as its own countermeasure in a head-on xD
I am also waiting for this. Moreover, you cannot even turn on the automatic system that launches countermeasures. Only IR-lamp on Su-25T works.
I think about playerEmulateShortcut action, but it works only for player, not for AI.
I have tried to include bots in player’s team (tried both teams) - does not work.
There is also UnitSetControls action, which works in general, but it does not have flares.
it works for me. Im using custom units, so i set their flares trigger group to “gun”, and set maxShootingDistance to 10000m. So when trigger detect that missle exist in the world, it add them ammo to “shoot” flares at player
Sounds interesting.
Could you please write trigger from .blk file?
Or share the very blk file please.
You said custom units? It means it is not standrad unit?
I’m currently not by my PC, but custom units means I took jas_39c.blk and fm and weapon presets, and modify them. Player can’t operate them, but ai can.
So, the simplest solution, is to change line in plane blk, from trigger type flares to gun/cannon.
And in mission, when player will be close enough, it just start spamming with flares. Actually it’s could freeze game for a while.
Ok, I understand the idea in general, but I would appreciate more details.
Please share them at your convenience.