Does counting units in a unit group leak?

meehael

New Member
Reaction score
6
Hi all,

I have a condition like this:
Code:
(Number of units in (Units in [I]{A preplaced region or a region variable}[/I] matching ((Unit-type of (Matching unit)) Equal to Paladin))) Equal to 1

Does this integer leak because there is a unit group involved? Should I create a temporary unit group variable and put it here:
Code:
(Number of units in [I]Temp_Group[/I]) Equal to 1
Where Temp_Group is (Units in {A preplaced region or a region variable} matching ((Unit-type of (Matching unit)) Equal to Paladin))
And now I can destroy Temp_Group.

Thanks,
Regards!
 
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