How do I make an object reference compatible with a float reference in a character Blueprint?
Those are two different types, and you cannot use the same thing for both of them.
If you describe what end goal you’re trying to accomplish, perhaps someone can help you figure out how to get there, though!
Pull off the blue pin and search for the float variable. Then pass that variable ref to the return node.
It looks a little different than I need. The first screenshot is as I did on your advice, the second photo is a screenshot from the book I use to study the UE5. I need it as shown in the book.
Open the Controller UI class.
Add a Float variable, Name it Health
From the cast (As Controller UI) → Get Health
1 Like