• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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
 
Level 13
Joined
Jun 22, 2004
Messages
783
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.
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
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.
 
Level 13
Joined
Jun 22, 2004
Messages
783
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.
Top