Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

stopsound macro + "back" button

Hey guys, I'm fairly new to twine and have encountered many problems in what seemed to be a steep learning curve, but I managed to eventually overcome them........ except this one issue I'm having.

Basically, the player starts inside, then when they proceed to the next passage, they are outside. At this point, a loopingSFX of the outdoors will play.

To go back indoors, I just use a <<back>> macro.
The problem is, when the player "returns indoors" the wind sound won't stop. Even though I have the whole <<stopsound $windSFX>> macro thing going on.

I double-triple checked and the macros are definitely correct... I also then discovered that this error happens elsewhere: using the back button doesn't activate the sound macros.

A work around was to use something like [[Go back indoors...|passage name here]].
But this means I'd have to go a lot of re-coding and alter a lot of passages as there are multiple choices leading to the same area and-

basically, is there a quicker, easier way of solving this?

Thanks!
Sign In or Register to comment.