Does this leak?

meehael

New Member
Reaction score
6
Hi everyone,

When I want to clean leaks by destroying Temp_Region, is it all right if I leave it like this:
Code:
Set Temp_Region = (Region centered at (Position of MassTeleport) with size (320.00, 320.00))
Or I need to set that point to a variable and then remove them both, as in here:
Code:
Set Temp_Region = (Region centered at Temp_Point with size (320.00, 320.00))
Where Temp_Point = (Position of MassTeleport)


And does this cause a leak:
Code:
Camera - Lock camera target for (Picked player) to (Last created unit), offset by (-5.00, 171.20) using Default rotation
What if I replaced (Last created unit) with (Random Unit from (Units in a Region)) or Event Response - Dying Unit?

Thanks,
Regards!
 

Artificial

Without Intelligence
Reaction score
326
> Or I need to set that point to a variable and then remove them both, as in here:
Yes, you need that Temp_Point in there.

> And does this cause a leak:
No.

> What if I replaced (Last created unit) with (Random Unit from (Units in a Region)) or Event Response - Dying Unit?
(Random Unit from (Units in a Region)) would leak a unit group (the units in a region part).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top