• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

lag issue on start the map

Status
Not open for further replies.
Level 5
Joined
Jan 19, 2020
Messages
102
I got lag at start of the map.

How can i fix that?

Pause the game at the beginning of the map?

Can i start the map with "low" speed and change it then to fast with a Trigger?

add wait to Triggers?
 
Level 12
Joined
Feb 5, 2018
Messages
521
So if I remember correctly it is highly recommended to store values into variables on map initialization trigger.
Storing damage for spells, storing quests and so on. Running revive system for creeps, destructibles and other stuff.

And do multiple other things as well, it will reduce the lag especially on big maps, since the trigger tuns trough before the map starts.

Also it would help to solve things like this, if you posted your triggers.

How To Post Your Trigger
 
Level 39
Joined
Feb 27, 2007
Messages
5,024
Instead of ‘Map Init’ triggers you should probably use ‘Elapsed game-time’ triggers that happen sequentially over the first second. You can also start the map with a black screen for everyone and fade in after like 5s to just hide the lag.
 
Status
Not open for further replies.
Top