Version

menu_open

Adding and Removing Objects from a Switch/State

You can easily assign objects to switches by adding objects and other containers to the Assigned Objects pane of the Contents Editor. To help speed up the process, you can Ctrl or Shift+click several objects and then add or remove them all at the same time. If you assign several objects to a Switch, they will all be played back simultaneously within Wwise and at run time in your game.

In most cases, you will assign the objects that are already in the Switch Container, but you may want to drag objects directly from the Audio tab in the Project Explorer to a Switch/State. In this case, the objects are moved from their current location to the Switch Container. If you want to create a copy of the object instead of moving it, you can Ctrl+drag the object from the Audio tab in the Project Explorer to the Switch/State in the Assigned Objects pane.

To assign/remove objects from a Switch/State:

  1. Load a Switch Container into the Property Editor.

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

  2. To assign an object to a Switch/State, drag an object from the Contents pane to a Switch/State in the Assigned Objects pane.

    The object is added to the Switch/State.

    [Note]Note

    You must drop the object directly on the title of the Switch or state.

  3. To remove an object from a Switch/State, click the object you want to remove in the Assigned Objects pane.

  4. Press the Delete key.

    The object is removed from the State/switch, but still remains in the Contents pane.


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