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.)
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.