# Changing/shifting rooms while playing

**URL:** <https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [January 17, 2016, 12:46am UTC](https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646 "2016-01-17T00:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_785073d3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_785073d3](https://forums.unrealengine.com/u/anonymous_user_785073d3)\
**Post date:** [January 17, 2016, 12:46am UTC](https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646/1 "2016-01-17T00:46:30Z")

</div>

So is it possible to change a room while playing. So when you go into a room and when you turn around the room changed. For example in Layers of Fear. The player enters a room, turns around, room changes (e.g door moved), player turns again, room changes again.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Colorado](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Colorado](https://forums.unrealengine.com/u/Colorado)\
**Post date:** [January 17, 2016, 12:14pm UTC](https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646/2 "2016-01-17T12:14:10Z")

</div>

Yes, possible and not too difficult.

You can do this using Blueprints.

1. make an empty BluePrint set the class as actor
2. Select the static mesh you want to move in the content browser
3. With the mesh selected, click that big green +Add Component button in the BluePrint
4. Go to the event graph, right click and type custom event, select add a custom event, give the event a meaningful name
5. Drag out a reference to the static mesh onto the graph, (It will be in the top left corner just click and drag it out)
6. Drag a wire off the mesh reference and create a setworldlocation node.
7. Type in the coordinates for the new location where it says “New Location”
8. Connect a wire from the custom event node to the SetWorldLocation Node

It should look something like this:

 ![Screen Shot 2016-01-17 at 2.16.38 PM.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/3/cb306322452cdb48441b010d17ab93e06f7b7494.png)

Once that is all setup, you just need to figure out what will be the trigger to call that custom event

You can put box triggers into the room that fire off custom events based on the player colliding with them  
or a more elaborate solution from within the players Blue print that determines if he is in the room, and what direction he is facing.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_785073d3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_785073d3](https://forums.unrealengine.com/u/anonymous_user_785073d3)\
**Post date:** [January 17, 2016, 2:19pm UTC](https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646/3 "2016-01-17T14:19:55Z")

</div>

Thank you so much.

Really helped me out !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cd0a3022](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cd0a3022](https://forums.unrealengine.com/u/anonymous_user_cd0a3022)\
**Post date:** [November 28, 2016, 7:32pm UTC](https://forums.unrealengine.com/t/changing-shifting-rooms-while-playing/52646/4 "2016-11-28T19:32:27Z")

</div>

Strange enough I was looking for this exact concept but all I found was rather unhelpful videos on how to change levels via Blueprint… could you make a video on how to do it? I know it’s a lot to ask from you! Thanks, : Liquid Stone -
