• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Expiration Timer Leaking

Status
Not open for further replies.
Level 3
Joined
Apr 6, 2015
Messages
44
So I'm Using expiration timers to remove unit leaks, but for some reason they aren't being removed, I created a spell that creates wisps on spots where units are located, and when I cast it on a spot where i casted my spell, it creates wisps from invisible dummy units that were suppose to be deleted from expiration timers, I recreated my spell on another map and it worked just fine, but for some reason its not working on me for my original.
Any ideas on whats going on?



attachment.php


attachment.php
 

Attachments

  • Untitled.png
    Untitled.png
    28.6 KB · Views: 196
  • Untitled2.png
    Untitled2.png
    18.4 KB · Views: 208
Level 12
Joined
Feb 22, 2010
Messages
1,115
I assume your LeakFinder spell just detects dead units, which means your dummy units are in decaying process.Because what generic expiration timer does is killing the unit when the time elapsed.Test it by printing their hitpoints to the screen in LeakFinder spell.
 
Level 25
Joined
May 11, 2007
Messages
4,650

"create 1 dummy at blizzardPoint[1] offset by 250 toward 36 degrees".
Save that as a tempPoint which you then create the dummy at, as you're now creating a new point ofsett of the blizzardPoint[1] which creates a leak.

and the "pick everyone in 350" leaks a unit group.

Check these links out:
http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
http://www.hiveworkshop.com/forums/miscellaneous-tutorials-456/how-easily-post-triggers-163285/
 
Level 3
Joined
Apr 6, 2015
Messages
44
I assume your LeakFinder spell just detects dead units, which means your dummy units are in decaying process.Because what generic expiration timer does is killing the unit when the time elapsed.Test it by printing their hitpoints to the screen in LeakFinder spell.

Ahh that was the problem, thank you, just had to change death animation to does not decay and cannot ressurect, Thank you!

"create 1 dummy at blizzardPoint[1] offset by 250 toward 36 degrees".
Save that as a tempPoint which you then create the dummy at, as you're now creating a new point ofsett of the blizzardPoint[1] which creates a leak.

and the "pick everyone in 350" leaks a unit group.

Check these links out:
http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
http://www.hiveworkshop.com/forums/miscellaneous-tutorials-456/how-easily-post-triggers-163285/


Ahh, totally failed there, thanks for catching that
 
Last edited by a moderator:
Status
Not open for further replies.
Top