Hi everyone!
I’m beginner in UE. I’m trying to add my project bunch of npc images(emotes) that will emerge based on player’s score. my project is a endless runner. player gains score while running(like meters) and main variable of score is settled in the character blueprint.
So I created 3 widgets for each image. when player reachs 100 score point 1. image will emerge on the right side of scren then fade out. then second and third will follow same way.
My problem is: when I go to the Level Blueprint for make that, I couldn’t get actual score from character blueprint. getting player character then casting my character blueprint and getting again my score from character bp and creating branch block, creating widget and add to screen command but it doesn’t work till I set up the condition for 0 score. then first image emerge on the right location. everything works fine.
so in Level BP it’s seems like my character’s score always 0. score system works perfect, I can see that my main hud. it’s increasing when character running. Am I missing something? what should I do? for getting that variable from character BP to Level BP.
Additionaly: When I try to get other variables like highest score(it’s a saved variable)
eveything works fine. I just couldn’t get simultaneous score value.
last update: it’s doesn’t work even in character blueprint. I can’t print score variable. just displaying 0.0 at the beginning and thats it. but it’s work in my main hud. when I start to run it’s increasing. but when I try to use that variable seems like its frozen or doesn’t work…
Here’s some images with mention:[iron emin | Flickr])