I would love some help figuring out how to create a simple character selection screen, I have widget with the relative buttons on and a new level for the widget to load onto but I am having trouble figuring out how to select a character and then load that character into the game
You can do this with either the game-state or a save file, if you don’t know about either of those I suggest looking into them.
The idea will be that you will save the data of what class (make a variable on the save file, an integer. 1 = ranger, 2 = wizard, 3 = warrior etc).
Then in your level blueprint or wherever you want to spawn your character, you cast to the save file, get the integer. If 1, spawn ranger and possess. If 2, wizard.
Above is the current blueprint for a selected character button, I’m not sure what needs to be added/ if I am even on the right track, what are your opinions?
I will continue to try getting my head around your suggestions though
The “select” node is your friend. Like pinworm said, you need to pass a variable to the level that you load, and hook up select node to the class input pin on the “spawnActorFromClass” node. (Or to a variable you “expose on spawn” inside your character class to determine which particular character it spawns/loads)