Difference between revisions of "Close-sound-from-file"

From FreeSpace Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
close-sound-from-file
 
 
     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...

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.