Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Sound::GetAudioSwitchID Method
Syntax
C++
int GetAudioSwitchID(IFunctionHandler* pH, char const* const sSwitchName);
Parameters 
Description 
char const* const sSwitchName 
unique name of an audio switch 

ScriptHandle with the TAudioControlID value, or nil if the sSwitchName is not found.

!

Sound.GetAudioSwitchID(char const* const sSwitchName)

! Get the switch TAudioControlID (wrapped into a ScriptHandle).!  

!  

 

Copyright (c) 2012. All rights reserved.