• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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