2 playerstart flags at different locations

Hi all
I am making a city like simulation game in which it has buildings and those buildings has interiors which are made into different levels (like GTA V online in which you enter a home and that home is in an entirely different level) however , now I have made 2 interiors , and all I want is when the character hit the trigger box at the door he spawns in a specific location in the city map for each interior ,for example interior 1 is at the building at the left and interior 2 is at the building on the right , when I get outside interior 1 I want to be in front of the left building , and when I get out of interior 2 I want to be infront of the building on the right

Thanks in advance

I use 1 city map level and 2 interior maps levels , also I am sorry if I am asking for much but can you use a noob friendly language ?? I just started using the engine days ago , thanks for the help :smiley: , how do I even reference or what to use to set actors like playerstart flags in the city map with the interior map blueprints ?? that’s what I actually try to approach if possible , thanks in advance :smiley:

Hi, you should specify whether you use one or more maps. If you use one map you can create a BP with 2 expose vector point, link 2 collision box to the 2 vector points and use the teleport node (to the other vector point) on the begin overlap. Watch out: you have to pay attention to infinite loops. If you use more maps you can use the “execute console command” with “Open Mapname” in the begin overlap event.

Make me know if it didn’t help you. I can try to be more clear.

Okay I am really thankful for your help , but I tried your first method , I merged the maps togther and made the interiors in the same level with the city , I made a teleportation triggerboxes , from the home to the city it’s working but it’s not working the other way around even thought the node reacts in the blueprints but nothing happens , does this has anything to do with the infinite loop you warned me from ??

thanks

You are asking a pretty difficult thing (for a newbe), you have to save your data via Game Instance for make the char spawn in correct location. I can give you just a little help that allow your char to enter only one house, better than nothing :v

I can’t make you a complex map transfer system, you should be into the Game Instance stuff to understand it. Soooo, you can google “Unreal Engine Game Instance” and study the documentation!

I can give you a turnaround (sorry, I’m very tired, I’ve builded an advanced player controller state machine today and my mind is blowing up :V): you can create a trigger box actor to enter and an other to exit. Let’s the first one to teleport your char from the city to the interior and the second one from the interior to the city. Actually there’s 2 blueprints for building and isn’t efficent but should work!

LOL , that’s what I just did that before reading your but it’s no use , what’s driving me really crazy is that I watched like 4 videos doing the same exact thing and I did exactly what they say and still nothing , also add up that the node reacts but nothing happens , I really started to think it’s a bug but the problem is that there is no one is talking about it or happened with someone before , the only one I found was the OP’s mistake