• 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!

Why lag?

Status
Not open for further replies.
Level 3
Joined
Nov 7, 2006
Messages
36
After I've used the spell in the map a few times it starts to lag. I've read about memory leaks and I think I've got most of them but it wont stop lag. Could someone explain to me whats wrong with these two triggers?
 

Attachments

The periodic timer trigger (the second one) runs all the time. It should run only when the spell is casted.
For that, in trigger "start fire" have an action in the end "Trigger - Turn on (move arrow <gen>)" and the "move arrow" trigger, untick the "Initially on". By the way, there is also a point that should be variable-d. The point with the offset, in the periodic event "move arrow". (Point1 offset by 15.00, bla bla) is a new point to store in a variable.
 
Status
Not open for further replies.
Back
Top