Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.10
more ▼

asked Dec 19 '15 at 06:33 PM in Blueprint Scripting

avatar image

1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Dec 19 '15 at 07:01 PM

avatar image

696 23 13 28

avatar image khaledsalem999 Dec 19 '15 at 07:09 PM

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 :D , 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 :D

avatar image Iohoilpotere Dec 19 '15 at 09:03 PM

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

alt text alt text alt text alt text

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!

tp0.png (525.8 kB)
tp1.png (590.7 kB)
tp2.png (611.4 kB)
tp3png.png (284.6 kB)
avatar image khaledsalem999 Dec 19 '15 at 09:48 PM

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 ??


avatar image Iohoilpotere Dec 19 '15 at 10:24 PM

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!

avatar image khaledsalem999 Dec 19 '15 at 11:39 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question