AnimToInfantry= in firing animation, unless you stick it to a death anim, you'll get a neutral infantry, able to attack anything. Give it a DeployToFire=yes and a range=-2 weapon. But this method gives you problems... IFVs/prism tanks/ drones/whatever (non-crushing vehicles) might start attacking it (even through cloak) if they can't find a way through (say, your mines blocked the whole width of a passage), the pathfinding will see infantry as a legal target, thus letting AI units fire at it. And if they are neutral, you'll get the explosion as well, when crushing a mine.
|