x

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"

Multiple spawn point between levels

Hello,

Since english is not my native langage, I've make a wonderful scheme for explain my words.

alt text

So, here you go, I'll try to be as clear as possible.

So, what I want is basically a Pokemon/Zelda/whatevrpg... Spawn system.

On the level/map 1 (On the left) we have 4 structures. Behind them, one dot, which represent the triggerbox of the location of a door. When the player overlap this triggerbox, he is teleported inside the associated structure.

For example : If you overlap the upleft triggerbox (Green Dot) on the Level/Map1 you're teleported to the green dot on the Level/map 2.

On the Level/map 2, all the inside are on the same level. For loading purpose... But you can't see them all, only the one you're into. On the level/map 1, it's a unique map where all the structures are into and you are free to navigate into. Each time you hit a triggerbox, you're teleported to the inside of the structure associated.

So, there's my blueprints :

I have two maps/levels : Extérieur (Exterior) the first map (Left) and Try_tp the second map (Right)

alt text

So, I have 4 blueprints, 1 for each triggerbox and 1 for each target point who are there to be used as SpawnPoint for my character.

(For this example, I'm trying to make this work for ONE structure at the moment. So I'm focusing the Green Dot for example...)

So I have the trigger box Exterior to TryTp (Level 1 to Level 2), and a Target Point for the localisation of the spawn in the level 2 map. And I have a trigger box Tryp tp to Exterior and a Target Point for the localisation of the spawn in the level 1 map. (Go and back...)

Plus, I have set my Level Blueprint alt text

My problem is... I can't create a reference to the TargetPoint of the Map 2 inside the level 1 blueprint...

The only thing I can do is Cast and I've no idea how to configure this.

alt text

And there is my Triggerbox bluneprint. They work pretty well, but my character spawn at the "PlayerStart" Location and I can't find a way to make it spawn at the target point location.

I'm a beginner at UE4 and trying to improve by myself, but I find it pretty hard since I have no experience whatsoever in programmation. So, i'm now calling for some help.

If someone have a solution, but after lots of research it seems it's pretty hard to teleport the player without using "Open Level" straight forward...

Did I do it properly ? Or maybe go to level streaming instead of doing that ? I don't know.

But, eh, we never know.

Many thanks by advance.

Product Version: UE 4.9
Tags:
more ▼

asked Mar 08 '16 at 11:02 AM in Blueprint Scripting

avatar image

Ednoc
10 1 4 7

avatar image Ednoc Mar 09 '16 at 02:56 PM

Still want to figure how to make this work.

This system is used in many games, like diablo 3 for example. When you go in the tavern in new tristram. You're basically teleported in another "room", another level, disconnected from the rest of the game. You click on the doorway, little loading time, and here it is, you're in. Then you can go back the same way. And you don't spawn at the waypoint or on the middle of the town, but at the door.

Won't post new pics of my blueprints cause they've changed a lot since I'm trying to make it works on the same level. (Point A to Point B, point B to point A ect...) Not simple with Class blueprint since you can't call a TargetPoint. For some reason.

If someone know how to do this, I'm still interested. Can't find tutorial, they're most focused on level steaming...

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

0 answers: sort voted first
Be the first one to answer this question
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