Easily Change character and save data?

I’m wondering if there’s a way to easily change the character by pushing a button, all the tutorials on it dont seem to work, atleast for me. I’m also completly stumped as to saving data, mainly a score and actors that have been picked up, as right now they both reset on level changes

There is a save function included in the game.

Check out this documentation:

https://docs.unrealengine.com/latest/INT/Gameplay/SaveGame/index.html

It’s covering pretty much all important aspects. From how the system is meant to work up to how to implement it in Blueprint or C++.

For score and actors it’s basically two things: A variable for your score (like some integer or float) and for your actors you will have to save the classes of your objects and all important variables which those objects contain. (Currently sadly it’s not possible to just save whole actors in their current state… with location and whatever variables you set. I do hope this will come eventually).

Hope this helps.

Cheers :slight_smile:

I’ve seen that and it just completely confuses me, only been doing coding/blueprints for about 2 days now

Aw alright that’s probably a bit tough… though you should get used to documentation like this since it’s usually your first place to go to and this one is well documented and therefore rather easy to understand. Trust me on this one… there are APIs out there only god and their developer knows what it’s supposed to do… and as far as the support of that software is concerned that developer isn’t with the company anymore.^^ Seriously though the doc is a great place and you probably don’t want to always ask and pause while doing something for a few hours if it’s already out there.

But to give you a small heads start and since you are actually rather new take a look at this tutorial:

It's doing something fairly similar and you should be able to create your own system with what you see and learn there... if not my serious suggestion would be: Watch the tutorial series by epic about blueprints. Fully. And maybe some others as well and try to just very slightly modify those before you jump into a completely self made project. It will spare you quite some time and you'll get the hang of it quite a bit faster.

Cheers :slight_smile:

I followed the tutorial in the video, though the player’s score doesnt save, I want to say the problem lies with the score not being found, though I have no idea how to get it from the characters blueprint.

Got character selection to work, though requires the character to be in the level already and doesnt go to the current location.