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?
Gridlock TD : Elements
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)
32 is the max and it keeps doing the last one.
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
Yeah, did this already, but the effect does not stop when I stop channeling :| How can I make it stop when I stop channeling?
Do you mean that the max Period Count is 32?
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
No max number of periodic offsets and effects is 32.
Thanks, both of you :) It works now.
You must login to post a comment. Don't have an account? Register to get one!