# Need help, Infinite loop blueprint?

**URL:** <https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 15, 2016, 3:35pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554 "2016-08-15T15:35:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_faf5cffb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_faf5cffb](https://forums.unrealengine.com/u/anonymous_user_faf5cffb)\
**Post date:** [August 15, 2016, 3:35pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/1 "2016-08-15T15:35:40Z")

</div>

Hello Peoples,

I am a bit new and im working on something similiar to that of the Silent Hill PT.  
Essentially I want to go through a door, and end up in the same room i started in before  
without cutting to a cutscene, and without making a bunch of rooms and what not.  
Any help?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7a386022](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7a386022](https://forums.unrealengine.com/u/anonymous_user_7a386022)\
**Post date:** [August 15, 2016, 5:33pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/2 "2016-08-15T17:33:41Z")

</div>

hi

try it with a portal.

[![]( " - YouTube") ](https://www.youtube.com/watch?v=mxDmK-sa5Gc)

best regards  
sim on

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_faf5cffb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_faf5cffb](https://forums.unrealengine.com/u/anonymous_user_faf5cffb)\
**Post date:** [August 16, 2016, 11:41am UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/3 "2016-08-16T11:41:45Z")

</div>

Hi,

Yeah, that would work. Only problem now is as im going through my door,  
i want to be able to see the next hallway? Essentailly like im looking from  
the left arrow, towards a door, when i open it i see the next hallway and i step into it  
and it is the next hallway.

Thanks  
ConstructiveAI

---

<div class="post-metadata">

**Author:** ![KrautPotato](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KrautPotato](https://forums.unrealengine.com/u/KrautPotato)\
**Post date:** [August 16, 2016, 11:43am UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/4 "2016-08-16T11:43:11Z")

</div>

You have to create rooms as sublevels. And you don’t need a portal.  
Else it won’t work like you want it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7a386022](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7a386022](https://forums.unrealengine.com/u/anonymous_user_7a386022)\
**Post date:** [August 16, 2016, 2:02pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/5 "2016-08-16T14:02:01Z")

</div>

hi if you like the portal idea …

i never test it before and maybe its a little bit complicated or i might be wrong but this  
guy fakes a “stereo” lookthrough with a rigged scene capture to get the 3D effect.

i think: when he moves in a specific range whe actor overlap in front of the door the scene capture in the other room is “attached” to to the players camera rotation and its location … works like this head tracking thing –\>

---

<div class="post-metadata">

**Author:** ![ConnorTheScot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ConnorTheScot](https://forums.unrealengine.com/u/ConnorTheScot)\
**Post date:** [August 16, 2016, 2:46pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/7 "2016-08-16T14:46:09Z")

</div>

Hello mate,

Instead of using portals, have you thought of just spawning new rooms and destroying old rooms, like the configuration in my below diagram:

[![](https://i.imgur.com/I35SgR2.jpg) ](https://i.imgur.com/I35SgR2.jpg)

For example, you initially start in the red section, then once you pass into the green section, the red section is deleted and the blue section is spawned?  
I have not tried this, but see no reason why it would not work. A bit more brick and morter instead of smoke and mirrors 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_99eafb7e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99eafb7e](https://forums.unrealengine.com/u/anonymous_user_99eafb7e)\
**Post date:** [August 16, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/need-help-infinite-loop-blueprint/71554/8 "2016-08-16T15:04:15Z")

</div>

Look at endless runner tutorials for reference  
they use the same function you want to use here  
creating new rooms ahead of you and destroying the ones behind you to save space  
https://www.youtube.com/embed/yS-yQfo0lc0?feature=oembed&wmode=opaque&list=PLZlv_N0_O1gbY4FN8pZuEPVC9PzQThNn1
