- Joined
- Dec 11, 2009
- Messages
- 234
From my tests both
Or at least, in regard to sound files. Preloading sounds doesn't work.
Maybe it's a bug or Blizzard disabled something recently.
Zero effect from calling this:
Doesn't matter if it's a direct call or it's done via some
I found temporary workaround. This can be used now to actually preload sound file:
You can see that it works, because the game freezes for a few moments, if the sound file is big enough (for 2+ Mb OGG file it's easily noticeable on my PC).
As for
Preload()
and Preloader()
don't do anything in Warcraft 1.30.Or at least, in regard to sound files. Preloading sounds doesn't work.
Maybe it's a bug or Blizzard disabled something recently.
Zero effect from calling this:
JASS:
call Preload("Test\\file0018.ogg") // audio format doesn't matter, same zero effect with MP3 and WAV
Preloader("list.pld")
.I found temporary workaround. This can be used now to actually preload sound file:
JASS:
call GetSoundFileDuration("Test\\file0018.ogg")
As for
Preloader()
, it doesn't seem to execute ANY code from withing the file. Just nothing.
Last edited: