• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Leak system

Status
Not open for further replies.
Hi,i have one leak in my system shoting of my map.
The leak is:

  • trigger
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - action
I need it for 12 players...so it is Integer 1-12.
Anybody knows how to remove this leak,or some ideas how to create this system other way ? :eekani:

Thanks.
 
aha,so i try it.

EDIT: ah yea,this is unleak for array variables...
I have unleaks like [call remove location(udg_TempPoint)]....
But i have problem with the Integer 1-12 leak...

EDIT2: If the Integer A 1-12 leak cannot be removed,tell me if you have any ideas how to do this system other way.

Integer A is not a leak.
Integers do not leak (and neither do reals and booleans), they're just numbers.

I can advise you to use a variable integer, though.
(something like "For loop integer Variable from 1 to 12), as Integer A is a BJ and is slower because of that.
 
Status
Not open for further replies.
Back
Top