Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::ExecuteAudioTrigger Method
Syntax
C++
int ExecuteAudioTrigger(IFunctionHandler* pH, ScriptHandle const hTriggerID, ScriptHandle const hAudioProxyLocalID);
Parameters 
Description 
ScriptHandle const hTriggerID 
the audio trigger 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) 

nil

!

Entity.ExecuteAudioTrigger( hTriggerID, hAudioProxyLocalID )

! ! Execute the specified audio trigger and attach it to the entity. ! The created audio object will move and rotate with the entity. ! !  

!  

!  

 

Copyright (c) 2012. All rights reserved.