Quote:
here u might find this usefull,
this is for the weapon in weapons.INI
AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
AntiGround = No
and this is for the FranctionUnit.INI
WeaponSet
Conditions = PLAYER_UPGRADE
Weapon = PRIMARY HumveeGun
Weapon = SECONDARY HumveeMissileWeapon
Weapon = TERTIARY HumveeMissileWeaponAir
PreferredAgainst = TERTIARY AIRCRAFT
End
you see the bit saying "PreferredAgainst = TERTIARY AIRCRAFT" that is what u want' hope it was helpful
|
I have that stuff in the code already, more often than not thedefensive guns work properly, it only goes odd & fires all 3 at one target if it's the only thing in range of the guns