Stopping Sound Volume

maxman

Well-known member
I was testing on the text entity on how to skip sound to another sound. However, when I activate pausesamples in the second frame between the first and the third, it's okay. In the end, when I quit the level, the sound from the first frame unpauses. I tried replacing pausesamples with soundvol or effectvol, but it crashes.

Code:
name Text-Test
type text

anim idle
	offset 1 1
	delay 100
	sound data/sounds/bike.wav
	frame data/chars/misc/empty.gif
	delay 1
#	@cmd pausesamples 1
	@cmd changeopenborvariant "effectvol" 0
	frame data/chars/misc/empty.gif
	delay 30
	sound data/sounds/get.wav
	frame data/chars/misc/empty.gif
 
Stopping the sound from playing while skipping to the next dialogue.

Watch at 0:23. In this video, somebody didn't skip the dialogue to the next. If you played it, you'll know what I mean.
https://www.youtube.com/watch?v=mHRdThQcixc

Watch at 2:41.
https://www.youtube.com/watch?v=sN9S6OUWJdI
 
Back
Top Bottom