• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Condition group leak?

Status
Not open for further replies.
Level 5
Joined
Jun 13, 2017
Messages
83
this is something I have been doing all the time, but just recently I started wondering if it leak since it still refer to a unit group.


Here is an example:

  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • (Number of units in (Units in (Playable map area))) Equal to 0
    • Actions

The condition here check a unit group to see if number of units = to 0
Does this condition leak? should i add them in a unit group variable then check in if/then/else?
 
Status
Not open for further replies.
Top