How to Reset / Restart a game
Hi everyone, I've been trying things for days, but I can't solve my problem and I'm a little bit desperate now.
I'm making an endless runner for android, after the player dies I want the game to be reset so the player can play the game again.
Nodes that I used to achieve this goal:
Open Level: Works perfectly in the editor and when I package it for development, It stops working when I package the game for Distribution (Shipping). (Like the node is not there?) 'Cook everything in the project content directory' is set to true.
Execute console command: Works perfectly in the editor and when I package it for development but ofc this node will be removed when I package it for Distribution.
Restart game: Restart game needs a 'Game Mode Object Reference' and when I take the node 'get game mode' it returns a 'Game Mode Base Object Reference' so I can't connect that one?
Maybe there is someone with a different idea to achieve this goal or can help me with the problem i have with 'Open level' and 'Restart game'.
I really hope that someone can help me!
asked Mar 27 '19 at 04:12 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here