Using a bool in GameInstance to spawn an actor
So I am trying to spawn an actor in my battle game mode, depending on whether or not he was in my previous level before the transition. I am using a GameInstance that contains a bool which gets set to true when the actor is spawned in the previous level, however this does not seem to be working for me. I can't just spawn the actor in without checking if it was spawned previously as I am going to be implementing Stats for each individual fighter. I am totally stuck here as I can't really think of another way to do this. The BP below is in my battle scene level BP. Any help is much appreciated!
Okay so it turns out that I am a complete idiot haha, I didn't realise I had to set the the game instance that I made in the project settings, sorry for troubling you and thanks for your help
answered May 07 '18 at 09:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here