Print text notification from any blueprint to UMG

Hi,
I’d like to send notifications to umg from any blueprint such as the character blueprint or another widget blueprint to a common widget blueprint that can accept the text in the sending function and display it.

In other words, how to mimick the behaviour of the global print string node so it’s displayed in umg text?

I’ve attached what I’m trying but I can’t get it right please help.

I know how to create it and add the widget to the viewport, but specifically this I can’t do.

Hello

I would cast to the characterBP in the widget and then just set text, you don’t need the function. Afters you’ll have to set the visibility to true, delay and collapse, you can call an event dispatcher for exemple or if the action comes from the Widget itself it s even easier.

And I don’t know from where comes the print text but if it’s from an option widget you should regroup it all inside it.

First graph: Character If you want to keep the variable in your character
Others: Widget

If you want to cast to, you always need to pin the object part, For the widget, when you create it you can promote to a variable the output blue pin, and then you don’t need to cast to it anymore, this is the ref you have after a cast to.