does this still leak?

Status
Not open for further replies.
Level 3
Joined
Aug 2, 2009
Messages
22
Hello guys
I have a question,
you already seen it :) does this still leak?

  • Mob Respawn
    • Events
      • Time - MobTimer expires
    • Conditions
    • Actions
      • Unit - Create Footman Footman for Player 12 (Brown) at (Center of Alli Spawn1 <gen>) facing 0.00 degrees
      • Set Move1 = (Last created unit group)
      • Set Point1 = (Point(-6600.00, -7100.00))
      • Unit Group - Order Move1 to Attack-Move To Point1
      • Custom script: call RemoveLocation(udg_Point1)
      • Custom script: call DestroyGroup(udg_Move1)
btw another not so important and oftopic question: what the hide code?

thx in advance
 
Hello guys
I have a question,
you already seen it :) does this still leak?

  • Mob Respawn
    • Events
      • Time - MobTimer expires
    • Conditions
    • Actions
      • Unit - Create Footman Footman for Player 12 (Brown) at (Center of Alli Spawn1 <gen>) facing 0.00 degrees
      • Set Move1 = (Last created unit group)
      • Set Point1 = (Point(-6600.00, -7100.00))
      • Unit Group - Order Move1 to Attack-Move To Point1
      • Custom script: call RemoveLocation(udg_Point1)
      • Custom script: call DestroyGroup(udg_Move1)
btw another not so important and oftopic question: what the hide code?

thx in advance

Yes "(Center of Alli Spawn1 <gen>)" will does leak in this case.
 
I think there are no leaks left. The region on the create units part "leaks", but because you create it at the start and then use the same point every time it shouldnt create lags or so on, because leaks come when you create points and dont destroy them, but if you just create one point it should cause problems.
 
Multigod, never be confused with how people name their variables, just look at the type of the variable, by the expression behind the variable.

In this case that unit group does not leak, the thing that leaked, was described in the first post.
 
Status
Not open for further replies.
Back
Top