How to get Player State reference in UI Widget Blueprint graph?

Didyeah
Fri, 28 May 2021 21:06:39 +0000
UI

I am trying to bind some of my HUD interface to the current player PlayerState variables but I can’t seem to find a way to get a reference to my custom PlayerState from the widget blueprint graph.
It works just fine using character variables which I can get using GetPlayerCharacter but since I moved some of the variables to the PlayerState I need the PlayerState.
Am I misunderstanding something? As far as I know the PlayerState is replicated and should be accessible locally.

6 posts - 4 participants