I wanted to show user SATIMA in a HUD Proggress bar , when user jumps he lose 1 satima i did these :
But cant update LocSatima from any other blueprints
how to call funtions from another blueprint?
Cant cast ?
I wanted to show user SATIMA in a HUD Proggress bar , when user jumps he lose 1 satima i did these :
But cant update LocSatima from any other blueprints
how to call funtions from another blueprint?
Cant cast ?
Well, you have to cast the HUD to GameHUD in order to access functions and variables from that class specifically! Just drag off of the GetHUD node and type “CastTo” and then pick the CastToGameHUD option
Get hud needs a target too ?
can you put a image
—GameHud Dose not inherit from player controller cast always faild
GetHUD() returns a AHUD element, you have to cast from that.
You need to drag off of the GetHUD node, then cast that to GameHUD, and then use that as your GameHUD, so that you can call your GetSatima function.