Close-sound-from-file

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