I’ve been searching the forums and youtube with no avail so my only hope is to post. What I have is a character that picks up a dagger with and attach to socket. Also a mask with an attach to socket. I have the Health and Mana set up in UMG yet when I load a new level none of the data for any of those appears. So it seems my “MainCharacter” blueprint isn’t able to go between levels. I’ve made a game instance but I honestly have no idea what I am doing with that. Any help would be greatly appreciated!
How to transfer my character's weapons, health and armor across levels?
In single player you could use the Game Instance class : A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
In multiplayer, the PlayerState is copied between level : Travelling in Multiplayer | Unreal Engine Documentation
I hope it helps you.
Yes possibly, I have a more basic knowledge of C++ is that the complete code or is there a blueprint version?
As for the game instance you just need to override it in c++ of with a blueprint and set it as game instance in your project settings.
But to have your playerstates replicated with all your custom variable you need to override the copy function on c++.
You could also add a custom actor blueprint to the actors travel list.
Okay so in order to move all of the said items in their sockets and items in the inventory and all other such variables I need a game instance blueprint, then what?
I finally go it to work and it was game instance thank you so much!
How did you transfer inventory items (actors) between levels. You can hold references in GameInstance, but how are the items (actors) retained when a new level loads?
Has anyone found a solution for this in Blueprints yet?