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

[Trigger] Does this leaks ?

Status
Not open for further replies.
Level 11
Joined
Jul 28, 2007
Messages
920
Well, since i reinstalled windows i have some issues. So for example leak checker wont work. Anyway i don't ask for leaks often. I was wondering if this one leaks coz it takes range within unit, and from that i thought it has to make point where that unit stands.
 
Level 8
Joined
Oct 3, 2008
Messages
367
Why not? What exempts conditions from leaks?

Let us check whether that leaks or not.

  • If ((Is (Triggering unit) near (Last created unit) and withing a range of 500.00) Equal to (==) True) then do (Do nothing) else do (Do nothing)
GUI action, gives us no information.

JASS:
return ( IsUnitInRange(GetTriggerUnit(), GetLastCreatedUnit(), 500) == true )
Hmm. It uses a native. And this native is leakless. Yep, you're fine.

EDIT: Blah, what are the GUI/WC3 tags here on the Hive called?

EDIT2: Nevermind. Trigger.
 
Status
Not open for further replies.
Top