Unit Group Variables

PandaBear

New Member
Reaction score
3
It is said that the action "Pick every unit in unit group" leaks, right? But if I use the custom script "call DestroyGroup(udg_group)" the variable won't exist anymore?
 

Shura

New Member
Reaction score
45
call DestroyGroup(udg_group) will just prevent the leak. You can still use the variable again.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Yeah...
Though not if the group will always be the same units !

Like, if there are some units which will never be removed/killed then you can set a unit-group to those units, and you don't have to destroy that group ;)
 

PandaBear

New Member
Reaction score
3
Got it, thanks! :thup:

Actually I created a channeling spell that creates a spinning ring around the caster, but it was full of leaks. Now the spell is clean, I hope :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top