Hi,
i have a HUD Blueprint, an Interface Blueprint and a class Blueprint. I want to send a Message from the HUD Blueprint to the class Blueprint when a Button is pressed.
The Problem is that i can’t find a way to specify the target Blueprint.
I’m calling the ButtonOneWasPressed event from the Interface and set the bool-variable to true but i find no way to set the target to the class Blueprint.
I can’t put the HUD Blueprint to the Scene outliner so a public variable for the class Blueprint doesn’t work.
Here is the Receiver in the second class Blueprint
I have a a work around… ifs pity funny so please someone tell me another way.
Turns out you cant even set the target of a interface to the HUD from a random BP. but you can set target to the player controller.
So I setup 2 new interfaces.
1 Goes from the random BP top the Controller BP.
2 Goes from the Controller BP to the HUD BP.
The Variable in both cases is the Self on the random BP (Eg. The self is going from the random BP to the Controller BP then to the HUD BP as a never set Variable). Then you can plug that Variable into the original interface’s target on the HUD BP and any other Variable you want to go from the HUD to the random BP will go… And it works … so crazy…