I have this mostly data editor based ability for reflecting missiles that worked well until recently. The old version was that you'd shoot down a missile with a search area effect executing a damage effect. When the damaging effect was used a trigger would execute on the nearest enemy the effect that the missile would have executed if it had hit, thus "reflecting" the missile.
However this ability no longer works on ghost EMP rounds at the very least. So I made an entirely trigger based version.
I'm having trouble posting a screenshot so for now here's a description:
The effect in the event is continuously executed by a behavior on the unit that has it. The trigger uses a pick each unit in unit group function with "units in region with alliance to player") using a circle region around the caster to remove incoming missiles and 'reflect' them.
It works on marauder weapon missiles, but the EMP still flies right through the radius unaffected. I even removed the "missile" filter just to see what would happen and it still didn't work on the emp, though it did remove the ghost that fired it once he got too close. I'm not excluding invulnerable units so that's not it.
The nature of the map makes it impractical to go through the data editor and edit every missile in existence, thus I'm hoping for a generic implementation like I had before.
I have this mostly data editor based ability for reflecting missiles that worked well until recently. The old version was that you'd shoot down a missile with a search area effect executing a damage effect. When the damaging effect was used a trigger would execute on the nearest enemy the effect that the missile would have executed if it had hit, thus "reflecting" the missile.
However this ability no longer works on ghost EMP rounds at the very least. So I made an entirely trigger based version.
I'm having trouble posting a screenshot so for now here's a description:
The effect in the event is continuously executed by a behavior on the unit that has it. The trigger uses a pick each unit in unit group function with "units in region with alliance to player") using a circle region around the caster to remove incoming missiles and 'reflect' them.
It works on marauder weapon missiles, but the EMP still flies right through the radius unaffected. I even removed the "missile" filter just to see what would happen and it still didn't work on the emp, though it did remove the ghost that fired it once he got too close. I'm not excluding invulnerable units so that's not it.
The nature of the map makes it impractical to go through the data editor and edit every missile in existence, thus I'm hoping for a generic implementation like I had before.