• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Damage of Time Trigger

Status
Not open for further replies.
Level 8
Joined
Jan 23, 2008
Messages
334
I am trying to make a damage over time trigger for a spell and when ever it is activiated it causes the game to lagg. The time could be similar the trigger which only lasts for 10 seconds.

-Events-
-Unit casts a spell

-Conditions-
-<spell being cast> equal to <DoT>

-Actions-
-set <DoTDmg> = 80
-set <DoTDmg> = 80/10
-loop actions from interger 1 to 10
--wait 1 second
--cause <casting unit> to damage <target unit of ability being cast> with damage <DoTDmg> with attack type spells(other one is normal)


I have heard that this can be a problem with a wait time being in the loop, or is there some other problem.
 
its about GUI and Waits
you cant use Waits in GUI loops
convert your trigger to custom text - post it here, I'll post you a working version
 
Status
Not open for further replies.
Back
Top