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.
asked Oct 10 '17 at 05:22 PM in Blueprint Scripting
This blog post explains how to restart a level using Blueprints and other methods as well.
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:
For example, Gamepad Face Button Top. Then when you press that button on your gamepad the level will restart.
Hope this helps.
answered Oct 10 '17 at 05:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here