• 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!

Changing Game Interference - HeLP!!

Status
Not open for further replies.
You mean the unit toolbar at the bottom? It's actually under pictures, under gameplay constants or something like that.
 
Thank

Hey thanks, it works now...

Btw, this is off topic but still goes in with the forum.

If you've played the game Eternity Calls castle defense, I would expect that you all lag. And in some cases, at levels between 10-15, the creep spawning triggers over-spawned, which causes intense lag since there are limitless creeps being spawned. I don't know why this happens, however I do know that this happens after the wc3 1.20 patch. Before that I have never changed the spawning system. So can someone be so kind to help me solve this issue? the map file is unprotected btw
 
Well, basically a leak is when you leave an object lying around unused with no pointers, and it still sucks up memory space.

Make a variable called loc (Point-type) and do this instead

Set loc = <Point>
Create 2 Footmen at loc
Custom Script: call RemoveLocation( udg_loc )

Do this whenever you are working with point variables. Also, if you are using any Unit Groups, just add THIS to the previous line (this includes for CountUnitsInGroup)
Custom Script: set bj_wantDestroyGroup = true
 
Ok so instead of having the 2 footmans to be spawned at a region, I initialize it to spawn at a point, this point will be initialized by a variable. Then after the 2 footmans are created remove the point again? And for the unit group, that custom script works before the line where unit group is being spawned at point loc? hmmm I still don't get the bj_wantDestroyGroup = true


Thanks btw
 
Status
Not open for further replies.
Back
Top