• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Preload

Status
Not open for further replies.
Level 25
Joined
Sep 26, 2009
Messages
2,381
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
86
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