System: Scar
>
Functions | |
void | setMusicPath (const char *path) |
sets the path that Music patches will try to use when Playing Script : setMusicPath("music/") | |
void | setDefaultMusic (const char *scriptname) |
set the music for the level to the named track | |
void | Sound_SpeechPlay (const char *filename) |
play the speech filename | |
void | Sound_SpeechSubtitlePath (const char *filepath) |
use speech: for localized data | |
void | Sound_MusicPlay (const char *filename) |
Play a looping music track, will turn off the previously playing music. | |
void | Sound_MusicPlayType (const char *filename, int type) |
Play a looping music track, will turn off the previously playing music. | |
void | Sound_StingerPlay (const char *filename) |
Play a non-looping stinger track, will turn off previoudly playing music and restart it after stinger is done. | |
void | Sound_EnableAllSpeech (bool enable) |
Enable / disable all speech from playing. | |
void | Sound_EnterIntelEvent (void) |
Call this before starting an Intel event in the game, it will duck the allships speech and music. | |
void | Sound_ExitIntelEvent (void) |
Call this at the end of an Intel event to return volume levels to normal. | |
void | Sound_SetMuteActor (const char *actorname) |
mute a particular actor, any non-actor input parameter un-mutes |