SC2Mapster Forums

Development > Data

Teleporting behind target and damaging everything in a line.

  • 7 posts
    #1 Nov 12, 2012 at 12:34 UTC - 0 likes

    How would I go about this?

    Basically, I want my unit to to be able to target a unit with this ability, teleport behind it and then deal damage to everything between his origination and end point.

    Help please :3

    #2 Nov 12, 2012 at 21:17 UTC - 1 like

    Use a Create Persistent that as the first periodic effect uses the Teleport effect followed by offset periods along the line using Damage effects. You validate the effect that the periodic effect is not too close to the caster.

    #3 Nov 12, 2012 at 22:25 UTC - 0 likes

    Well, damn. I understand some of what you said in there, but not all.

    Any chance you could go into it a bit further DSE?

    #4 Nov 13, 2012 at 00:16 UTC - 0 likes

    The validate field of the create persistent can use a Location Range validator. This can make sure the offsets do not overshoot. In short it teleports and does a delayed line of damage but damage stops at unit.

    You can even have the telport and create persistent as different branches of the effect tree.

    #5 Nov 13, 2012 at 00:25 UTC - 0 likes

    I've only recently started using the editor. Explain it to me as if I was mentally handicapped

    #6 Nov 13, 2012 at 21:02 UTC - 1 like

    Ok main issue is you teleport only a short distance, then you do not want the damage in line to overshoot your unit and kill stuff past it.

    Fisrt set your editor to like the grown ups using the picture in this link.

    http://www.sc2mapster.com/forums/general/wiki-discussion/20995-info-data-editor-fieldnames/#p1

    Create an Effect - Target type ability under the Abilities data type.

    Set the Ability: Commands - Default Button to a button you made yourself in the Buttons data type.

    Set Effect: Effect to the Set effect from the Effects data type mentioned later.

    Set the Stats: Range field to how far you want to be able to cast the ability

    WIth the Set effect, under the Effect: Effects field apply the Create Persistent and the Teleport effects (teleport on top of list).

    (to be continued)

    #7 Nov 15, 2012 at 22:17 UTC - 0 likes

    Thanks man, what else do I need to do?

  • 7 posts

You must login to post a comment. Don't have an account? Register to get one!