# Opening level from struct

**URL:** <https://forums.unrealengine.com/t/opening-level-from-struct/455247>\
**Category:** World Creation\
**Tags:** Struct, loading, data-table, unreal-engine, level, question\
**Created:** [September 12, 2019, 3:13pm UTC](https://forums.unrealengine.com/t/opening-level-from-struct/455247 "2019-09-12T15:13:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fjordhoj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fjordhoj](https://forums.unrealengine.com/u/Fjordhoj)\
**Post date:** [September 12, 2019, 3:13pm UTC](https://forums.unrealengine.com/t/opening-level-from-struct/455247/1 "2019-09-12T15:13:54Z")

</div>

Hi

I want to make a data table containing a level and additional variables, such that i can get a row and load the chosen level. However, i can’t select a “level” as a variable, nor a “world soft object” which we currently use.

How can i get / set levels as variables in general and “open level” of these variables?

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [September 12, 2019, 3:52pm UTC](https://forums.unrealengine.com/t/opening-level-from-struct/455247/2 "2019-09-12T15:52:40Z")

</div>

Use a Name type and put the level name in it. when you call open level you need to put in a Name string anyway. The variables you can pass through to the gameMode of the level and work with them from there.

---

<div class="post-metadata">

**Author:** ![vimesito](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vimesito](https://forums.unrealengine.com/u/vimesito)\
**Post date:** [May 7, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/opening-level-from-struct/455247/3 "2024-05-07T15:51:31Z")

</div>

you can use soft world objects references, you have to break it and you can use it, i think it’s more useful this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/7/437ccf883838f926acef83abe37111037b35ce8a.png)
