So, I have two widget blueprints(GameWin & MainMenu) What I am trying to do is to make a leaderboard for the player’s scores. In the MainMenu Widget, I have 3 variables(Top Score1, Top Score2, and Top Score3) I need to compare these to the variable Score inside the GameWin widget. What I need to do is get the Top score variables into the GameWin blueprint, I’m trying to do this through casting(Don’t know if this is the right way) but whenever I try to cast it, it always fails. See casting in the pic below:
GetAllActors/WidgetsOfClass return the correct object type already. No need to cast here, as the helpful message states.
The cast may be failing because the object does not exist.
Works like a charm, thanks.