Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RegisterSoundMood
Syntax
C++
int UpdateSoundMood(IFunctionHandler * pH, const char * sParameterName, float fFade, uint32 nFadeTimeInMS = 0);
Parameters 
Description 
float fFade 
Fade value. 
sSoundMoodName 
Sound mood name. 
nFadeTimeInMs 
Fade time in milliseconds. Default value 0. 

Bool. 

! Updates a SoundMood current fade ratio (0-1)

Syntax: Sound.RegisterSoundMood(const char *sSoundMoodName, float fFade, [optional] uint32 nFadeTimeInMS) 

Updates the specified sound mood.

Copyright (c) 2012. All rights reserved.