Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetMusicTheme
Syntax
C++
int SetMusicTheme(IFunctionHandler * pH);
Parameters 
Description 
pszTheme 
Theme name. 
bForceChange 
True to force the theme change, false otherwise. Default value is false. 
bKeepMood 
True to keep the sound mood, false otherwise. Default value is false. 
nDelayInSec 
Delay in second to change the theme. Default value is -1. 

Syntax: Sound.SetMusicTheme(const char *pszTheme, [optional] bool bForceChange, [optional] bool bKeepMood, [optional] int nDelayInSec) 

Sets the music theme. 

 

Copyright (c) 2012. All rights reserved.