I’m trying to run a function “FUNCTION_1” on my HUD widget to change text on my HUD. But I can’t cast to it from another object “Quest_Item”. For the reference to the widget I have tried the using the reference types: widget, widget blueprint, actor, widget class, and the object itself HUDTEXT but none seem to work.
HudText has to be set.
Casting only says what class to use and it already knows that.
If the player creates the hud, you can save it as a variable and when the player interacts with something you can have a reference to the player which has a reference to the hud.