Hello guys, I’m currently working on a inventory system project that I want to do on my own, I’m a newbie in unreal, but did programation elsewhere. I was wondering what is the best way to store player data everytime he log off and use that data to initialize the game when he log in. I want to store basic variables like money he got, his inventory. It’s also networked, so I want to store the data of every players on the server. Do I have to make an ID for every players and use that ID to find the according data for that ID and initialize everything? Thanks!
You need to use this to save the game, calling only from the server.
Everytime you log in, you call an function/event (be sure to run it only from the server) to load a player by the log in Identifier you defined for that user. The server should retrieve you the parameters from your SaveGame Object to the client.
1 Like
Watch this tutorial and think how you could add networking.
Basically is like you suggested, making an ID for filtering what save game instance the server will retrieve to the client.
1 Like