GetAudioTriggerID
Get the trigger TAudioControlID (wrapped into a ScriptHandle).
Syntax
Sound.GetAudioTriggerID(char const* const sTriggerName)
Parameter | Description |
---|---|
sTriggerName | unique name of an audio trigger |
GetAudioSwitchID
Get the switch TAudioControlID (wrapped into a ScriptHandle).
Syntax
Sound.GetAudioSwitchID(char const* const sSwitchName)
Parameter | Description |
---|---|
sSwitchName | unique name of an audio switch |
GetAudioSwitchStateID
Get the SwitchState TAudioSwitchStatelID (wrapped into a ScriptHandle).
Syntax
Sound.GetAudioSwitchStateID(ScriptHandle const hSwitchID, char const* const sSwitchStateName)
Parameter | Description |
---|---|
sSwitchStateName | unique name of an audio switch state |
GetAudioRtpcID
Get the RTPC TAudioControlID (wrapped into a ScriptHandle).
Syntax
Sound.GetAudioRtpcID(char const* const sRtpcName)
Parameter | Description |
---|---|
sRtpcName | unique name of an audio RTPC |
GetAudioEnvironmentID
Get the Audio Environment TAudioEnvironmentID (wrapped into a ScriptHandle).
Syntax
Sound.GetAudioEnvironmentID(char const* const sEnvironmentName)
Parameter | Description |
---|---|
sEnvironmentName | unique name of an Audio Environment |
SetAudioRtpcValue
Globally sets the specified audio RTPC to the specified value
Syntax
Sound.SetAudioRtpcValue( hRtpcID, fValue )
Parameter | Description |
---|---|
hRtpcID | the audio RTPC ID handle |
fValue | the RTPC value |
Overview
Content Tools