Hello,
I just wanted to ask if its possible to end a game with a trigger box and possibly a screen widget. Like trigger ending music and slow fade away
Thank you
Hello,
I just wanted to ask if its possible to end a game with a trigger box and possibly a screen widget. Like trigger ending music and slow fade away
Thank you
Yes it is possible. First you put a trigger volume anywhere you need, then inside the level blueprint define a custom event for the on overlap event of the trigger volume. For ending the game game you just call quitGame node. Widgets or bgm require slightly more work but the general idea is the same.
The straightforward solution is to do exactly that! In the callback for the trigger, run whatever logic you want to end the game.
I assume you already tried exactly this, which is just exactly what you asked, so … what’s the actual question?
Is the question “how do I stop the player controller from controlling the player pawn?” If so, unpossess the pawn.
Is the question “how do I load my main menu level again?”
If so, call Open Level on the level that implements your main menu.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.