• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Do I need to destroy this group to remove leaks?

Status
Not open for further replies.
Level 8
Joined
Mar 17, 2016
Messages
133
Hi, I'm just wondering if my unit group is stored in a variable do I still need to use the "BJ_wantdestroygroup" function. This is the trigger I'm curious about:

  • SS SoulGroupCheck
    • Events
      • Time - Every 1.33 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in UnitGroupB[1] and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Soulbinds ) Equal to False
            • Then - Actions
              • Unit Group - Remove (Picked unit) from UnitGroupB[1].
            • Else - Actions
Thank you!
 
Status
Not open for further replies.
Top