IN THIS ARTICLE
Audio Switch Component
The Audio Switch component provides basic Audio Translation Layer (ATL) switch functionality. With switches (and switch states), you can specify the state of an entity. The audio middleware interprets states, modifies the behavior of sounds, and plays the appropriate sounds.
|Default Switch||Enter the name of the audio switch to use by default. You can associate any audio switch with the entity.|
|Default State||Enter the name of the audio switch state to use by default. Use the Audio Controls Editor to assign the state to the switch. When this component is activated, the Default Switch is set to the Default State.|
Use the following request functions with the EBus interface to communicate with other components of your game.
For more information about using the Event Bus (EBus) interface, see Working with the Event Bus (EBus) system.
|SetState||Sets the specified state of the default switch.||None||Yes|
|SetSwitchState||Sets a specified switch to a specified state.||None||Yes|