What to use PlayerStates for?

Hello,

PlayerStates are used for online stuff that should store general information that other players on the server would need.

These things are some of the things stored out of the box in the player state:

  • Player Name
  • Ping

You might want things like score to be stored there as well.

Keep in mind that PlayerStates are alway relevant, which means they always send network updates. Ideally player states should not have a lot of information in them since it will use a lot of bandwidth.

For your situation it sounds like you could store the Name and level in the player state, but store the SkeletalMesh in the player controller, depending on if you need other players to see that information at all times.

~ Dennis “MazyModz” Andersson