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!
Hey guys, I'm making an escape but it laggs very much cause i have so many units and regions and stuff, is there any easy way to solve that problem? It doesn't have to be easy just so i can understand it...
Well isn't to say it's the units or regions ... it might be a trigger
Like I had a map where I wanted units to be allied every second
So I made a trigger
Event
Every 0.01 Seconds of Game
Condition
--------------
Actions
Player Group - Make Humans treat Humans as Ally's with shared vision
Player Group - Make Vamps treat Humans as enemy's
player group - Make Humans treat Vamps as enemy's
Player group - Make Vamps treat Vamps as Ally's with shared vision
If you have any triggers functioning via every seconds it might be the problem but if you don't... then it might be your units or rects whatever
(terrain type at (position of Rifleman 0081 <gen>)) Equal to Ashenval - Grass
Actions
Wait 0.50 seconds
Unit - Kill Rifleman 0081
I have that trigger for 5 players... I tried to make it this
Events
Time - Elapsed game time is 0.00 seconds
Conditions
(terrain type at (position of Rifleman 0081 <gen>)) Equal to Ashenval - Grass
Actions
Wait 0.50 seconds
Unit - Kill Rifleman 0081
But it didn't work.
I also have a trigger with many actions...
It takes to long to post that trigger but might it be that? will it reduce the lagg if i make more triggers insted of just 1 long for mortars to shot and that stuff?
you can use this map for a trigger that will kill units if they enter a certain type of terrain it will probably make your map lag less, its also a tutorial
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.