The interface could not load. You can still read below. Retry
Sequence Containers: Play Sounds in Order
This tutorial divides a reload into three stages: magazine removal, magazine insertion, and bolt pull. A Sequence Container plays these sounds in a specified order.
Before you start: Open the Container_Tutorial project created in the Random Container tutorial and continue using the Container_Examples Layer.
If you haven’t read the first tutorial in this series, we strongly recommend starting with Random Containers: Add Variety to Your Sounds. Follow that tutorial to set up the Container_Tutorial project, then come back for the Sequence Container exercises.
Give each stage its own Random Container. When the stage plays, its container picks one of three sounds, so repeated reloads don't always sound identical.
In Explorer, select the three Sounds for magazine removal: Weapon_Reload_Mag_Out_01, Weapon_Reload_Mag_Out_02, and Weapon_Reload_Mag_Out_03.
Right-click and choose New Parent → Container. Name it Weapon_Reload_Mag_Out. The three magazine-removal Sounds become children of this Container.
Return to Explorer, click to select Weapon_Reload_Mag_Out, and click the Play button at the top. Let the sound finish before playing it again, and repeat a few times. In Blueprint, watch which Sound gains a green border each time. Each trigger plays only one magazine-removal sound.
Viewing Blueprint: Double-click Weapon_Reload_Mag_Out in Explorer. Blueprint centers this Container in its view so it is easy to find.
If Blueprint is not visible, first open it from View → Blueprint at the top of the main window.
Similarly, group the magazine-insertion and bolt-pull Sounds into separate Random Containers named Weapon_Reload_Mag_In and Weapon_Reload_BoltPull. You now have three Random Containers, one each for magazine removal, magazine insertion, and the bolt pull.
After auditioning, press Ctrl+S to save the project.
2.3 Use a Sequence Container to Set the Stage Order#
The three stages can now select their own variations. Next, place them in one Container so the outer Container can decide which stage plays first.
In Explorer, select the three Containers: Weapon_Reload_Mag_Out, Weapon_Reload_Mag_In, and Weapon_Reload_BoltPull.
Right-click and choose New Parent → Container. Name it Weapon_Reload.
Select Weapon_Reload and find Mode under Inspector → Basic → Selection. Change it to Sequence.
Next, set the playback order of the three reload stages in Weapon_Reload. Look at the Selection Editor panel in the lower center of the main window. In the default layout, it is below Blueprint, and its title should show Weapon_Reload.
If this panel is not visible, or its title does not show Weapon_Reload, double-click the outer Weapon_Reload Sequence Container in Explorer on the left to open or switch to its Selection Editor.
The Child table for Weapon_Reload lists three Random Containers, which play the sounds for magazine removal, magazine insertion, and the bolt pull, respectively. Their order from top to bottom determines the playback order of the three reload stages. To move a row, drag its number at the far left, as shown below.
Arrange the rows in this order: magazine removal → magazine insertion → bolt pull.
Order
Child (stage Container)
Reload action
1
Weapon_Reload_Mag_Out
Magazine removal
2
Weapon_Reload_Mag_In
Magazine insertion
3
Weapon_Reload_BoltPull
Bolt pull
Return to Explorer on the left and click to select the outer Weapon_Reload Sequence Container.
Since we have not changed Play Type, it is still set to the default, Single. Each click of Play therefore plays only one reload stage. After the sound finishes, click Play again to play the next stage.
Click Reset container selection (the button marked by the arrow in the image below) once at the top of the main window. This clears the Container’s playback history, so the next playback starts with the first stage, magazine removal.
Tip: To audition a Sequence Container from the beginning again, select that Sequence Container in Explorer, click Reset container selection, then click Play.
Keep the outer Weapon_Reload selected and click the Play button at the top of the main window four times in total.
The first three auditions check the stage order. The fourth checks whether playback returns to the first stage. Compare each audition with the following table:
Click of Play
Expected action
1st
Magazine removal: start at the first Child row
2nd
Magazine insertion: advance to the second row
3rd
Bolt pull: advance to the third row
4th
Magazine removal again: return to the first row after the third
You can also watch the active stage in Blueprint and compare it with the action you hear.
After auditioning, press Ctrl+S to save the project.
The outer Sequence Container sets the order of the three stages. When a stage comes up, its Random Container picks one of three sounds to play.
In Explorer on the left of the main window, click to select the outer Weapon_Reload Sequence Container. Then find Play Type under Inspector → Basic → Selection on the right.
The earlier auditions used Single: each click of the Play button at the top starts only one stage. To complete the reload with one click, use Queue, which plays the three stages consecutively.
Change Play Type on the outer Weapon_Reload to Queue.
Return to Explorer, click to select Weapon_Reload, and click Reset container selection. Then click the Play button at the top just once and wait for all three stages of the complete reload to finish.
Click the Play button at the top once more and wait for all three stages of the complete reload to finish. Listen for differences between the two playbacks. Notice that both play magazine removal, magazine insertion, and the bolt pull in that order, but the sound selected for each stage may differ.
After auditioning, press Ctrl+S to save the project.
Comparing the earlier auditions with these shows the difference between the two playback types:
Single: Each click of Play starts only one stage. For example, the first click plays magazine removal, the second plays magazine insertion, and the third plays the bolt pull. Completing the reload takes three clicks.
Queue: One click of Play runs magazine removal, magazine insertion, and the bolt pull consecutively in order, completing the entire reload.
Playing the outer Weapon_Reload now produces the complete reload. As in the Random Container tutorial, create a playback Action for it.
In Explorer, right-click Weapon_Reload and choose New Action → Play. An Action named Play_Weapon_Reload is created automatically.
In Explorer, click to select Play_Weapon_Reload. In Inspector → Basic → Step on the right, check that Target in the Play row points to the outer Sequence Container Weapon_Reload, not to a Random Container for one of its stages. Target tells this step which object to play.
Keep Play_Weapon_Reload selected and click the Play button at the top once. Listen for magazine removal, magazine insertion, and the bolt pull, in that order. If you hear all three, the Action is playing the outer container's full queue.
After auditioning, press Ctrl+S to save the project.
2.6 Use Resume From Last to Choose Where Playback Restarts#
In Explorer on the left of the main window, click to select the outer Sequence Container Weapon_Reload.
Find Resume From Last under Inspector → Basic → Selection. This option appears only when Play Type is set to Queue. If it's missing, make sure the outer container is selected, then check that Play Type is set to Queue.
Resume From Last determines which stage plays first the next time you press Play after stopping a reload partway through.
Unchecked: Playback starts with magazine removal again, repeating the complete reload.
Checked: Playback restarts from the stage that was active when stopped. For example, stopping during magazine insertion makes the next playback restart insertion and then continue to the bolt pull.
Listening comparison: where does playback restart after you stop mid-reload?
Earlier, you played the three reload stages in order: magazine removal, magazine insertion, and bolt pull. Now stop during the second stage, magazine insertion, and press Play again. Does the reload start over, or does it restart from the stage where you stopped?
It's hard to time the stop by ear alone. In Blueprint at the center of the main window, make sure you can see the Weapon_Reload_Mag_In node marked by the arrow below. When its border turns green, magazine insertion has started: click Stop at the top of the main window.
Run the listening test twice, changing just one setting: leave Resume From Last unchecked the first time and check it the second time. When playback restarts, listen for the first sound: do you hear the magazine being removed or inserted?
First, leave Resume From Last unchecked
In Explorer on the left of the main window, click to select the outer Weapon_Reload Sequence Container. Then leave Resume From Last unchecked under Inspector → Basic → Selection on the right.
Make sure the Weapon_Reload_Mag_In node (magazine insertion) is visible in Blueprint. At the top of the main window, click the orange arrow (Reset container selection), then the green triangle (Play) to start with magazine removal.
When the outline of Weapon_Reload_Mag_In turns green, click the red square (Stop) at the top.
If the outline of Weapon_Reload_BoltPull (bolt pull) turns green, you stopped too late. Let playback finish, then go back to step 2 of this test and start again.
Once you've confirmed that you stopped during magazine insertion (Weapon_Reload_Mag_In), click Play at the top again without resetting. This time, Weapon_Reload_Mag_Out lights up first. You'll hear all three stages: magazine removal, magazine insertion, and the bolt pull.
With Resume From Last unchecked, the Sequence Container starts over from the first stage, magazine removal, even though you stopped during magazine insertion.
Next, check Resume From Last
In Explorer on the left of the main window, click to select the outer Weapon_Reload Sequence Container. Then checkResume From Last under Inspector → Basic → Selection on the right.
Make sure the Weapon_Reload_Mag_In node (magazine insertion) is visible in Blueprint. At the top of the main window, click the orange arrow (Reset container selection), then the green triangle (Play) to start with magazine removal.
When the outline of Weapon_Reload_Mag_In turns green, click the red square (Stop) at the top.
If the outline of Weapon_Reload_BoltPull (bolt pull) turns green, you stopped too late. Let playback finish, then go back to step 2 of this test and start again.
Once you've confirmed that you stopped during magazine insertion (Weapon_Reload_Mag_In), click Play at the top again without resetting. This time, Weapon_Reload_Mag_In lights up first. You'll hear magazine insertion followed by the bolt pull, without hearing magazine removal.
Unlike in the first test, with Resume From Last checked, the Sequence Container remembers which stage was playing when you stopped. Since you stopped during magazine insertion, the next playback starts with that stage and skips magazine removal.
Restore the settings after auditioning
After playback finishes, uncheck Resume From Last under Inspector → Basic → Selection, and leave Play Type set to Queue. Press Ctrl+S to save the project.
A Sequence Container plays its children in the order listed from top to bottom in the Child table. In this tutorial, it connects magazine removal → magazine insertion → bolt pull. Each stage’s Random Container still picks a sound at random, so the reload follows the same order but can sound a little different each time.
Play Type determines how many stages play per trigger. Single plays only one stage per click of Play; clicking again advances to the next stage. Queue plays all three stages consecutively in order from a single click, completing the entire reload.
In Queue mode, Resume From Last controls where playback starts after you stop partway through. Leave it unchecked to start from the first stage, or check it to restart the stage that was playing when you stopped.