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

[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