I am searching for a way to force a unit to use a specific weapon againt a target.
To give an example:
I gave the Orca a gatling gun for killing infantry and light amored targets (a bit like the CCG Comanche). It looks really great, but it works really terible, too :/
When I use force fire to shoot at the ground, the gattling gun works fine - but whenever I try to attack an enemy unit, the orca uses its missiles (for infantry, tanks, buildings and so on).
How can I change this? I want him to use his gatling against infantry and his missiles agains everthing else.
I know there was something like PrefferedAgainst in Generals and its also mentioned in WeaponSet.xsd, but I cant get it to work :/
And a second question: is it possible to hide a mesh after firing? I made all orca missiles seperate objects, but I cant find a way to hide them after firing.
ProjectileBoneFeedbackEnabledSlots still works in TW (was used to hide the tomahawk back in Generals), but it only defines the weapon, not the actual mesh I want to hide :/
Edited by Chriz, 09 September 2007 - 11:24 PM.