Download

Event dispatcher not working

I’m trying to set a message from my player blueprint to a widget:

Player bp

Widget

What I’m doing wrong??

Thanks

Your ‘Cast to Character’ probably fails. Try adding a print to see which output it goes on.

And I would change the name of the dispatcher as I’m unsure Unreal supports “]” and spaces in Dispatchers’ name.

If the cast is failing, it could be due using the cast in the construction script. Since the construction script runs when an object is created, its possible its happening before the player object exists, thus the cast will fail. You can try moving it to EventBeginPlay in the event graph if that is the case.