Hi all,
I have a condition like this:
Does this integer leak because there is a unit group involved? Should I create a temporary unit group variable and put it here:
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!
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
And now I can destroy Temp_Group.
Thanks,
Regards!