Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::SetAudioObstructionCalcType Method
Syntax
C++
int SetAudioObstructionCalcType(IFunctionHandler* pH, int const nObstructionCalcType, ScriptHandle const hAudioProxyLocalID);
Parameters 
Description 
int const nObstructionCalcType 
Obstruction/Occlusion calculation type; ! Possible values: ! 0 - ignore Obstruction/Occlusion ! 1 - use single physics ray ! 2 - use multiple physics rays (currently 5 per object) 
ScriptHandle const hAudioProxyLocalID 
ID of the AuxAudioProxy local to the EntityAudioProxy (to address the default AuxAudioProxy pass 1 to address all AuxAudioProxies pass 0) 

nil

!

Entity.SetAudioObstructionCalcType( nObstructionCalcType, hAudioProxyLocalID )

! Set the Audio Obstruction/Occlusion calculation type on the underlying GameAudioObject.!  

!  

!  

 

Copyright (c) 2012. All rights reserved.