First off, I know this has been asked before, but reading those threads didn't help me.
So. I'm trying to create an ability that will blink the target anywhere from 1-3 range away, and then deal damage to units it would have passed through had it phased through them, thus dealing damage to all units in a line between the starting point, and the ending point.
The Hellion and Raynor's Snipe both do this with Constant Offsets, but I don't want to have the character blink a distance of 1.5, and have it damage everyone in the range 3 line.
Is there a way where I could perhaps move a point towards the target point in three jumps, and deal damage around the point to enemies? Maybe applying a buff to prevent them from getting hit twice?
First off, I know this has been asked before, but reading those threads didn't help me.
So. I'm trying to create an ability that will blink the target anywhere from 1-3 range away, and then deal damage to units it would have passed through had it phased through them, thus dealing damage to all units in a line between the starting point, and the ending point.
The Hellion and Raynor's Snipe both do this with Constant Offsets, but I don't want to have the character blink a distance of 1.5, and have it damage everyone in the range 3 line.
Is there a way where I could perhaps move a point towards the target point in three jumps, and deal damage around the point to enemies? Maybe applying a buff to prevent them from getting hit twice?
I would still use offsets, you could start with offsets at the source of the unit, and if the offsets reach the target point, use a Destroy Persistent or a periodic validator comparing the distance to stop additional offsets.
Preventing units from getting hit twice is usually done by applying markers from the persistent and adding a No Markers validator for the impact effect. Raynor's Snipe and Hellion's Flame use them as well.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
First off, I know this has been asked before, but reading those threads didn't help me.
So. I'm trying to create an ability that will blink the target anywhere from 1-3 range away, and then deal damage to units it would have passed through had it phased through them, thus dealing damage to all units in a line between the starting point, and the ending point.
The Hellion and Raynor's Snipe both do this with Constant Offsets, but I don't want to have the character blink a distance of 1.5, and have it damage everyone in the range 3 line.
Is there a way where I could perhaps move a point towards the target point in three jumps, and deal damage around the point to enemies? Maybe applying a buff to prevent them from getting hit twice?
@EnjayFerret: Go
welcome to sc2mapster! :D
I have no idea how to this without doing it the hellion style. uhhh... welcome!
I would still use offsets, you could start with offsets at the source of the unit, and if the offsets reach the target point, use a Destroy Persistent or a periodic validator comparing the distance to stop additional offsets.
Preventing units from getting hit twice is usually done by applying markers from the persistent and adding a No Markers validator for the impact effect. Raynor's Snipe and Hellion's Flame use them as well.