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. 

Reset Level via Pause Menu Button & changing Player Start locationon that reset

This honestly sounds simple but I'm not sure how to go about implementing this. This reset level isn't as simple as pausing the game or quitting it as they already have functions that do that. However, reset doesn't, which leads me to try to find an alternative for this reset button I have on the pause menu.

This reset is meant for players to restart the level with every state reset EXCEPT for the Player Start. We want to give the player an option to skip a tutorial part of our game, and if they do so, the Player Start location would change to another location we define.

How then would be distinguish between the default Player Start and the 2nd Player Start we want, as well as give the player the option to choose between skipping Tutorial or not. Would this be done in Pause Menu/Widget Blueprint or Level Blueprint?

2 questions 1)How to restart a level via pause menu? 2)How to do the above player start change?

Thanks.

Product Version: UE 4.6
Tags:
more ▼

asked May 28 '15 at 08:46 AM in Blueprint Scripting

avatar image

MajinKen
58 17 24 33

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

1 answer: sort voted first

This for me is going to be a wild stab in the Dark.

From your widget, set a location in Game Instance BP for example.

When the level starts, get that location from the Game Instance and spawn the player there.

Narg

more ▼

answered May 28 '15 at 08:58 AM

avatar image

Narghile
1.7k 74 38 110

avatar image MajinKen May 28 '15 at 09:01 AM

Sorry, but what is Game Instance BP? Referring to the Level blueprint? Sorry, I'm not too familiar define working with Unreal for perhaps 4 months+ now.

Also, do you know how to solve the 1st question? Which is how to go about restarting a level to begin with?

(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