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. 

press a button on gamepad controller to "restart" the level/start in "player start" location

Hello, I have a single level environment (navigated with XBOX controller). During playing in fps mode I would like to press a button on the controller gamepad to "Reset" map (that would reset players's location to the "player start") or just "Restart a game/map/level" from beginning.

I'd very much appreciate any tutorial / keyword on that. probably simple question related to blueprints but can't find the right info.

Yours, Mark

Product Version: UE 4.17
Tags:
more ▼

asked Oct 10 '17 at 05:22 PM in Blueprint Scripting

avatar image

Mary-universe
13 3 4 7

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

1 answer: sort voted first

This blog post explains how to restart a level using Blueprints and other methods as well.

http://www.unrealidiot.com/how-to-reload-current-level-in-unreal-engine-4

In your case, you need to replace the OnClicked Event (red node) with a Gamepad input event. Just right click on the blueprint and search for one of the Gamepad input events listed here:

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Input/GamepadEvents/index.html

For example, Gamepad Face Button Top. Then when you press that button on your gamepad the level will restart.

Hope this helps.

Cheers, Marco.

more ▼

answered Oct 10 '17 at 05:32 PM

avatar image

vr_marco
2.2k 10 6 12

avatar image Mary-universe Oct 10 '17 at 06:50 PM

Thank you Marco! It really helped! I'm new to the UE so I really appreciate your notes on replacing Click with Gamepad input! Cheers, Mark

(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