Wwise Fundamentals

Table of Contents

Create a sequence

Now it’s time to link the head and tail sounds together so that each time an ice gem is fired, you hear a randomly selected head followed by a randomly selected tail.

You'll do this using another type of object called a Sequence Container. Similar to a Random Container, it holds other objects, but instead of randomly playing them, you can define a sequence.

  1. In the Project Explorer, press and hold the Ctrl key and select the Gem Head and Gem Tail Random Containers.

  2. Right-click either of the two selected objects and click New Parent > Sequence Container.

  3. Rename the newly created object Gem Drop.

    Notice the Gem Head and Gem Tail Random Containers are shown within the Gem Drop Sequence Container. The order in which they are listed does not indicate the order in which they will be played. That order is controlled by the Playlist, which you will create in the primary editor.

  4. On the right side of the primary editor, click + and select Gem Head. Then click + again and select Gem Tail.

    [Note]

    Alternatively, you can add items to the Playlist by dragging them from the secondary editor below, or from the Project Explorer.

    The containers are added to the Playlist in the order in which they were selected, and they automatically expand to reveal the Sound SFX objects within.

  5. In the Project Explorer, click the Gem Drop Sequence Container and play the object multiple times.

    Notice that the first time you press play, only one of the head objects plays. A tail object doesn’t play until you press play again. If left unchanged, the same thing would happen in the game. That is, the player would fire the ice gem once and only hear the head. Then when they fire a second time, they would hear the tail. This is not the sound sequence you want, but you can fix it by changing the Play Mode.

  6. In the Property Editor, select Sequence Container and set the Play Mode to Continuous.

  7. Play the Gem Drop Sequence Container multiple times.

    Now you hear a randomly selected gem head sound followed by a randomly selected gem tail sound each time.


Was this page helpful?