I am trying to make a projectile always follow the enemy unit, even if it becomes cloaked or is loaded into a Dropship. But when that happens, the missile just moves to the location where the unit disappears and impacts the ground. I want it to follow the unit, no matter what. Nothing can escape it.
possibly have your missile launching ability create a unit that uses the missile's mover rather than using a launch missile effect. the ability would also add a buff to the target unit and the created missile unit would have a buff that constantly searched for the target that has the buff and orders the missile to attack that target. the missile unit would have a melee suicide weapon.
this should get around the cloaking issue, not sure if it would still "see" the buff when the unit is loaded, but im pretty sure that you can add the buff to the loading unit via its Load ability.
I am trying to make a projectile always follow the enemy unit, even if it becomes cloaked or is loaded into a Dropship. But when that happens, the missile just moves to the location where the unit disappears and impacts the ground. I want it to follow the unit, no matter what. Nothing can escape it.
Any ideas how to do this?
possibly have your missile launching ability create a unit that uses the missile's mover rather than using a launch missile effect. the ability would also add a buff to the target unit and the created missile unit would have a buff that constantly searched for the target that has the buff and orders the missile to attack that target. the missile unit would have a melee suicide weapon.
this should get around the cloaking issue, not sure if it would still "see" the buff when the unit is loaded, but im pretty sure that you can add the buff to the loading unit via its Load ability.
@Kabelkorven: Go
maybe just change the unit filters to enabled (cloaked and hidden)