Player state questions

Now, if i understand correctly, playerstate is used to keep track of value for a character(one for each character if multiplayer), such as name, score, etc.

How do i make my own player state?

I want to create a player state that extends(i think) the current player list so it still has all the other information, but i want to create my own so i can add other things like health and mana. So how do i go about making this?

You can create a class that inherits from PlayerState and add your fields, then set it as the player state class for your game mode:

MyGameMode->PlayerStateClass = MyPlayerState::StaticClass()

You can do it in your GameMode’s constructor.

Where do i do that?