Get RPG Reference of a Player
To access to the RPG functions you always need to get the RPGSystem Component reference of the player.
Using GetPlayerCharacter

Getting the Reference through Server
If you are on a server environment then you can use GetConnectedPlayer()
from the GameMode. It outputs the RPGSystem Reference.

Getting PlayerCharacter Reference throught the RPGSystem Reference.
Just use GetOwner()
on the RPGSystem Reference to get the PlayerCharacter reference

Last updated