Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::SetAudioSwitchState Method
Syntax
C++
int SetAudioSwitchState(IFunctionHandler* pH, ScriptHandle const hSwitchID, ScriptHandle const hSwitchStateID, ScriptHandle const hAudioProxyLocalID);
Parameters 
Description 
ScriptHandle const hSwitchID 
the audio switch ID handle 
ScriptHandle const hAudioProxyLocalID 
ID of the AuxAudioProxy local to the EntityAudioProxy (to address the default AuxAudioProxy pass 1 to address all AuxAudioProxies pass 0) 
nSwitchStateID 
the switch state ID handle 

nil

!

Entity.SetAudioSwitchState( hSwitchID, hSwitchStateID, hAudioProxyLocalID )

! Set the specified audio switch to the specified state on the current Entity.!  

!  

!  

!  

 

Copyright (c) 2012. All rights reserved.