Assume I have an air unit with high speed. If that air unit moves in range of a basic Missile Turret, there is a distance where that air unit can technically outrun the missile turrets attack. The Missile Turrets missile will follow the unit and eventually explode harmlessly, dealing 0 damage. How do I apply this same "expiration" to say a Battlecruisers auto-attacks?
Currently, if the same air unit moves near a BC and then moves away from it at ludicrous speed, the BCs projectiles will follow it and, even if the projectile disappears, will still do damage. I want to change this interaction so that the BCs attacks are able to be dodged by using the air units Boost/Afterburner ability.
You probably need to use a search area effect or a damage effect, setting it's effects to do area damage, with target impact location set to target point, as the impact effect of the launch missile effect of the battlecruiser weapon. If the effect set as the impact effect of launch missile effect of the attack of the BC, is a regular damage effect with the "Target: Impact Location" set to target unit, when the missile arrives at its final destination and executes it's impact effect, it will damage the unit targeted by the attack, wheter or not is within the range of the impact of the missile.
You may also want to check this video of how to make an skillshot ability, since it accomplishes something similar to what you want to do. Link below.