Close-sound-from-file

From FreeSpace Wiki
Revision as of 12:10, 24 January 2010 by TopAce (talk | contribs) (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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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.