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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Change the spawn location on a map with the use of blueprints? (better explanation in description)

Hi, I have a problem with changing the spawnpoints of the character. What I want to make my blueprint do is having two different spawns in one map. The player starts in the middle of a room. You can walk up to a door and it changes the level. On the next level there is a door that brings you back to the previous level. The problem is that when I go back to the first level I spawn in the middle of the first room. I want the player to spawn close to the door you walked out and not in the middle of the room.

Could someone help me out with an idea for a blueprint.

Product Version: Not Selected
Tags:
more ▼

asked Apr 28 '15 at 04:18 PM in Blueprint Scripting

avatar image

Chippred
13 3 4 6

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

2 answers: sort voted first

I've done exactly this in blueprint by putting different billboards as the spawnpoints and naming them after the map you want to enter from. When you then enter another level i save the name of the map you came from in a save file. always check this file in the player begin play event and set the world position of the phys capsule to the billboard with the name if the map you came from. there is a function for fiding all actors in the scene of a particular class so upon player load i find all the spawn positions(blueprint i made with a billboard component a position and a string var for its name) and move the player to the right position. You will never see the default spawn point you just appear at the correct one.

Hope this helps and good luck! :)

more ▼

answered Apr 28 '15 at 11:11 PM

avatar image

WegHuZ
6 1

avatar image Chippred Apr 29 '15 at 06:06 AM

thank you for the answer! :D I will try this out later :) I may ask for help if i did not make it work xD

avatar image Alfica Dec 13 '15 at 08:08 AM

Hey, thanks for that.

theoretically i totally understand, but just dont end by understand how to make that in practice (using blueprint). Do you think it would be possible that you post a screenshot of the BP for that?

avatar image Chippred Feb 10 '17 at 02:47 PM

figured it out ? i failed, but have worked with other stuff while trying to figure it out

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

okey, i mean this question have gotten over 900 views, that probably means that people are searching for this. so if any one know the answer on this and want to share it i would be happy, this is the oldest problem i got with my project. :) @WegHuZ is on to something, I understand what he suggest, the problem is that i dont know how to do it myself :/

more ▼

answered Mar 05 '17 at 04:13 PM

avatar image

Chippred
13 3 4 6

(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