View Single Post
Old 12-10-2003, 07:02 AM   #7 (permalink)
DCoder
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,052
Send a message via MSN to DCoder
Default

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.
DCoder is offline   Reply With Quote