I feel like this should be simple but I can't seem to figure it out :( Other dash ability threads I've found don't seem to have quite what I'm looking for.
I want to create an ability where a unit dashes in a straight line with a set distance towards a point. If the unit collides with an enemy unit on its path, I want it to deal damage to the enemy unit and stop the dash at that unit.
The closest I've seem to have gotten is with a create persistent effect with a periodic offset from the source unit, with a launch missile as the periodic effect with the caster as the missile.
I like the way the ability feels with these two effects but I have no idea how to stop the caster(missile) at an enemy unit and deal damage. Also I can't seem to get the ability to target a point instead of requiring a target unit. None of my fields are set to target unit that I can find.
Thanks in advance for any help! It would be greatly appreciated.
0
I feel like this should be simple but I can't seem to figure it out :( Other dash ability threads I've found don't seem to have quite what I'm looking for.
I want to create an ability where a unit dashes in a straight line with a set distance towards a point. If the unit collides with an enemy unit on its path, I want it to deal damage to the enemy unit and stop the dash at that unit.
The closest I've seem to have gotten is with a create persistent effect with a periodic offset from the source unit, with a launch missile as the periodic effect with the caster as the missile.
I like the way the ability feels with these two effects but I have no idea how to stop the caster(missile) at an enemy unit and deal damage. Also I can't seem to get the ability to target a point instead of requiring a target unit. None of my fields are set to target unit that I can find.
Thanks in advance for any help! It would be greatly appreciated.