0 votes
by (1.4k points)
Hello all peoples!

Using SugarCube 2.21 (because I love it).

I am sure that people who use saveable games can also use <<cacheaudio>>, but how? When I loaded a saved game all of the audio was replaced with "this track does not exist".

I suppose you can do it by having the game save in a passage which also caches audio, but I would much rather use the "autosave in every passage" setting.

Thank you all!

1 Answer

0 votes
by (63.1k points)
selected by
Best answer
Your <<cacheaudio>> calls should be in the StoryInit special passage, generally speaking.
by (1.4k points)
That fixed it! Thanks!

(It also brought forward a few other problems that also needed fixing, which was also a good thing.)