Casting failed between two widget blueprints
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:
asked Nov 22 '17 at 06:57 AM in Blueprint Scripting
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.
answered Nov 22 '17 at 08:07 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here