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

[General] Preload

Status
Not open for further replies.
Level 28
Joined
Sep 26, 2009
Messages
2,520
if I understand what you want, then preload is a "controlled lag" - stuff that loads for the first time can cause small lag spike. You simply add unit to the game after... let's say 1 second elapsed game time and through trigger give and remove abilities that cause these lag spikes.
You can do that with units as well - you simply create and then remove the unit immediately.

This way you control when the lag happens.
 
Level 4
Joined
Jul 13, 2012
Messages
89
xD NOW I KNOW... I WILL NEVER USE THIS IN MY MAP :ogre_hurrhurr: THANKS FOR REPLY

+rep

Late reply, hehe

You're understanding it wrong, preload.. well preload preloads stuff, if you're like making one big spell, and cast it on some point of the game, it lags on first use. Preload does make lag on the start, but if you're using in some point of the game, it no longer lag.
 
Status
Not open for further replies.
Top