Hello. When a spellcaster (e.g. an infestor) acquires a target, I want it to cast an ability (e.g. neural parasite) on the acquired target. I am able to do this with normal non-spellcaster units, but when it comes to spellcasters there seems to be some hidden AI flag such that the acquire target event never happens. I tried disabling all the spellcaster AI flags I could find, added weapons, confirmed that the default response behavior was "acquire", and confirmed that the stance was "offensive", but still no luck. Any ideas? Thanks in advance!
Perhaps try making a dummy weapon, with no damage, hidden and doesn't play animations with the range of the spell you want?
I'm not sure what exactly is causing it, but if the unit will function properly if it has a weapon target maybe that could be a temporary solution - also this solution should make the unit face its target.
Hello. When a spellcaster (e.g. an infestor) acquires a target, I want it to cast an ability (e.g. neural parasite) on the acquired target. I am able to do this with normal non-spellcaster units, but when it comes to spellcasters there seems to be some hidden AI flag such that the acquire target event never happens. I tried disabling all the spellcaster AI flags I could find, added weapons, confirmed that the default response behavior was "acquire", and confirmed that the stance was "offensive", but still no luck. Any ideas? Thanks in advance!
@Roflpwninator: Go
Perhaps try making a dummy weapon, with no damage, hidden and doesn't play animations with the range of the spell you want? I'm not sure what exactly is causing it, but if the unit will function properly if it has a weapon target maybe that could be a temporary solution - also this solution should make the unit face its target.
@FatCatTrap:
Good idea - I have not tried disabling the weapon animation, etc. Thanks FatCatTrap, I will give that a shot.
I found this thread useful in getting spellcasters to attack: <http://www.sc2mapster.com/forums/development/data/12756-giving-non-combat-units-weapons/#p3>