• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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