MMO-Player Stats

Ineedcash12
Wed, 31 Oct 2018 18:56:38 +0000
Character & Animation

Hey Everyone, its been awhile since I messed around with unreal engine, and I can’t open my old projects on my USB drive from my old computer to get the reference I need.

To make this as short as possible, and I know there are a number of ways, what is the best place to put Player Stats in.

I was going to create a PlayerState for the game, and store the skill levels, stats, quests, current Armour, inventory, etc in here. Then send these to the player pawn(character). This way the player couldn’t cheat since these are replicated. I am also going to add a feature where players can see other players stats, quests, inventory, equipment, etc which is why I figured this would be the best place as its replicated.

Can anyone tell me if this is the correct way to use PlayerState, and if there are any pros and cons of this way?

Thanks!

1 post - 1 participant