• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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: 181
  • Untitled2.png
    Untitled2.png
    18.4 KB · Views: 194
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,651

"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