SC2Mapster Forums

Development > Data

[Solved] Channeling Abilities?

  • 7 posts
    #1 Jan 10, 2013 at 17:17 UTC - 0 likes

    I want to have an ability, that let's the caster channel for up to 10 seconds, launching an effect every 0.25 second. If the caster stops/moves while channeling, the effect will stop.

    I assume it's pretty simple, but how do I do it?

    Last edited Jan 10, 2013 by Demtrod
    #2 Jan 10, 2013 at 21:20 UTC - 1 like

    Ability type: Effect Instant/Target -> Create Persistent effect (phase 0.25, period count 10/0.25=40) -> add entry to Periodic Effect field

    (if you only add 1 effect that one is executed every period; if you have just as many entries for Phase and Periodic Effect they are matched by their index; in other cases I don't know what happens)

    #3 Jan 10, 2013 at 22:35 UTC - 1 like

    @Photoloss: Go

    32 is the max and it keeps doing the last one.

    #4 Jan 10, 2013 at 23:06 UTC - 0 likes

    @Photoloss: Go

    Yeah, did this already, but the effect does not stop when I stop channeling :| How can I make it stop when I stop channeling?

    @DrSuperEvil: Go

    Do you mean that the max Period Count is 32?

    Last edited Jan 10, 2013 by Demtrod
    #5 Jan 10, 2013 at 23:35 UTC - 1 like

    Add the Channeled flag to the persistent effect.

    Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.

    My Amazing Cutscenes

    #6 Jan 10, 2013 at 23:51 UTC - 1 like

    No max number of periodic offsets and effects is 32.

    #7 Jan 11, 2013 at 09:40 UTC - 0 likes

    Thanks, both of you :) It works now.

  • 7 posts

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