Version
menu_open

Defining the Playback Behaviors of Objects Within a Switch Container

Since Switches and states can change frequently within a game, you need to determine how each object within the Switch Container will react when the change occurs. You can determine the playback behavior for the following options:

  • Play - Determines whether an object will play each time the Switch Container is triggered or just when a change in Switch/State occurs.

  • Across Switches - Determines whether an object that is in more than one Switch will continue to play when a new Switch/State is triggered.

  • Fade In - Determines whether there will be a fade-in to the new object when a new Switch/State is triggered.

  • Fade Out - Determines whether there will be a fade-out from the existing object when a new Switch/State is triggered.

To define the playback behaviors of objects within a Switch Container:

  1. Load a Switch Container into the Property Editor.

    The objects within the container are displayed in the Contents Editor.

  2. In the Play column, select the 1st only option to play the object only the first time after the Switch/State changes. If you leave the 1st only option unselected, the object will play each time the Switch Container is triggered by the game.

  3. In the Across Switches column, select the Continue to play option to force the object that is in both the source and destination Switches/States to continue playing during a change in Switch/State. If you leave the Continue to play option unselected, the object will stop and will start playing again from the beginning.

    [Note] Note

    The Across Switches option is only available in Continuous play mode.

  4. If you want to fade in to new objects when a change in Switch/State occurs, type the amount of time you want in the Fade-In text box.

    [Note] Note

    The Fade-In option is only available in Continuous play mode.

  5. If you want to fade out from existing objects when a change in Switch/State occurs, type the amount of time you want in the Fade Out text box.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise