Calling a C++ Function with return value from a Blueprint

Aye, Sundays! For another PoC I was in need of some custom C++ functionality. To get a grasp of it, I started digging into some articles and videos and decided to narrow everything down to what’s most important: Calling functions and retreiving a return value from there.

 

Idea

Let’s send two floats to a custom C++ function which then returns us the sum as Output Param in a node we can use further in our Blueprint. For now, we’re working with a synchronous call, means, the function we’re calling is also the function we’re getting our sum back from. It’s really that simple.

Read More