• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] Spell loop in a loop

Status
Not open for further replies.
Level 4
Joined
Apr 22, 2020
Messages
53
Is it possible to make a spell who get in an infinite loop ?

I explain...

You cast the spell with an indexing trigger.

> It triggers a loop with a counter based on another spell cast automatically every 1 sec.

When it cast 8 times, it starts an action and get back on the loop (without the first spell event), cast 8 times, starts action, 8 times, action, infinitely... until I stop the cast.

I hope it's all crystal clear lol... Ask If it's not. :D
 
Level 4
Joined
Apr 22, 2020
Messages
53
Hm, I see, this might work...

But finally I found another way to do it.

I had an issue with morph spell who reset cooldowns of other abilities.

So I set a normal spell loop trigger where I set the morphed unit type as a condition to do the final action loop. So even if the cooldown is reset, you always have to wait 8 sec to achieve the spell goal.

Thanks for your answer :)
 
Status
Not open for further replies.
Top