• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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