• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your 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