#  Is it possible to use different trigger boxes to open the same level but stream a different sub level depending on the triggerbox selected? 

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-use-different-trigger-boxes-to-open-the-same-level-but-stream-a-different-sub-level-depending-on-the-triggerbox-selected/241590>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26\
**Created:** [July 20, 2021, 2:25am UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-different-trigger-boxes-to-open-the-same-level-but-stream-a-different-sub-level-depending-on-the-triggerbox-selected/241590 "2021-07-20T02:25:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [July 20, 2021, 7:54am UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-different-trigger-boxes-to-open-the-same-level-but-stream-a-different-sub-level-depending-on-the-triggerbox-selected/241590/2 "2021-07-20T07:54:26Z")

</div>

> [@AmyS79](#):
>
> work out how to save a variable from the triggerbox.

- each TriggerBox has a unique Actor tag:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/7/d7c72427f79e282017f09252ede50d82b13f07fb.jpeg)

- the Game Instance has a variable and a Custom Event hooked up to a Switch:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/f/ffeb05fd2d8131cf670faedcd707562ec9cb9238.png)

- when the player enters the TriggeBox we read its tag and push that value into the Game Instance’s variable

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/b/2b1a2af1a04c7749c9168e39b752763bbf045943.jpeg)

- when you’re ready to play the video, ask the Game Instance to do it, it has the data and a Custom Event to pull it off; or you can fetch just the variable instead and have the video playing logic elsewhere

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/e/3e78ead20b275ef64c4ca101a4f62c453dba7437.png)

* * *

Alternatively, you could use a Save Game:

> **[Saving and Loading Your Game in Unreal Engine | Unreal Engine 5.7...](https://dev.epicgames.com/documentation/en-us/unreal-engine/saving-and-loading-your-game?application_version=4.27)**
>
> Overview of how to save and load your game

And here:

> [@Save Slots not working?](https://forums.unrealengine.com/t/save-slots-not-working/238987/2):
>
> Yes, because you’re creating a new save game object on every run and overwriting the old one with it. Here’s a save game 101:

---

_[View the full topic](https://forums.unrealengine.com/t/is-it-possible-to-use-different-trigger-boxes-to-open-the-same-level-but-stream-a-different-sub-level-depending-on-the-triggerbox-selected/241590)._
