Difference between revisions of "Close-sound-from-file"
From FreeSpace Wiki
(Created page with 'close-sound-from-file close-sound-from-file Closes the currently playing sound started by play-sound-from-file, if there is any. Takes 1 argument... 1: Fade (default …') |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
close-sound-from-file | close-sound-from-file | ||
Closes the currently playing sound started by play-sound-from-file, if there is any. Takes 1 argument... | Closes the currently playing sound started by play-sound-from-file, if there is any. Takes 1 argument... | ||
Line 6: | Line 5: | ||
==Notes== | ==Notes== | ||
*You don't need this SEXP if you want a given sound (being played via the [[play-sound-from-file]]) be interrupted by another. Just simply set the new sound and it will automatically stop playing the first sound. | *You don't need this SEXP if you want a given sound (being played via the [[play-sound-from-file]]) be interrupted by another. Just simply set the new sound and it will automatically stop playing the first sound. | ||
+ | |||
+ | [[Category:SCP SEXPs]] |
Latest revision as of 12:11, 24 January 2010
close-sound-from-file Closes the currently playing sound started by play-sound-from-file, if there is any. Takes 1 argument... 1: Fade (default is true)
Notes
- You don't need this SEXP if you want a given sound (being played via the play-sound-from-file) be interrupted by another. Just simply set the new sound and it will automatically stop playing the first sound.