I have a game setup that measures scores. I have a BP called Goal. The goal gets made and my variable for Score goes up by 1. I want to pass the value of the Score variable to another BP, called Scoreboard. The Scoreboard is not part of the HUD. It is a BP, with text and a static mesh in the Level. Simply put, I want the Scoreboard BP to reflect the current Score. The Scoreboard BP has several instances of itself around the level. Again…there is no HUD on my game.
I cannot find a way to push the Goal variable (named (Score) to the Scoreboards. It seems simple but this is proving difficult. I am succesfully using Print String to Update the Score in real time, but I cant print the Score to any other BP.
Hello,
there is always more than one solution to solve something, but in your case I’d just use “cast to BP_Scoreboard” to pass the score value each time it changes in BP_Goal.
I have been messing with the Cast To bits for awhile now and am missing a simple step somewhere. Which one is correct from the posts above ? Use Cast To BP or Cast to BP Class ?
Everything is working Up thru the Print String.
I am trying to push the value of BB Score A (int) to the BB Scoreboard blueprint. On that blueprint a Text Render component (Text Score A) exists.
When I test the scene, My Print String is firing as expected and counting up Scores, but nothing is happening to the Text Score A text.
My character can sh*t fireballs, fly, blow things up, but I still cant get a simple number to print on the side of a wall