Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetMusicMood
Syntax
C++
int SetMusicMood(IFunctionHandler * pH);
Parameters 
Description 
pszMood 
Music mood name. 
bPlayFromStart 
True to play from start, false otherwise. Default value is true. 
bForceChange 
True to force the music mood change, false otherwise. Default value is false. 

Syntax: Sound.SetMusicMood(const char *pszMood, [optional] bool bPlayFromStart, [optional] bool bForceChange) 

Sets the specified music mood. 

 

Copyright (c) 2012. All rights reserved.