• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] How to run a Trigger a specific amount of times

Status
Not open for further replies.
Level 2
Joined
Feb 3, 2008
Messages
11
I want to repeat the actions of a Trigger as much as the level of an ability of the triggering unit is. Does anybody know how i can do this?

  • Frost
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Gleich Frost
    • Actions
      • make the triggering Unit damage all Units within 512.00 of Position of Triggering unit by 30 damage
      • add (count all Units within 512.00 of Position of Triggering Unit x 30) life to the triggering Unit
      • Wait 1.00 seconds
i know that the Actions arent correct i just shortened so that you can read them easier. My goal is to transfer the Life of all Units within a certain range of the Hero every second. But i have to repeat the Actions so that every second the Actions take effect and transfer life.

Does anybody know how to do that?
 
Status
Not open for further replies.
Top