How can I send info from a C++ class to a BP?

I have a simple script for buoyancy with the Nvidia Waveworks ocean, but I need a more advanced solution than this. I’m trying to create a system similar to the one described in this tutorial: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

I don’t have much C++ experience but I believe I have to send the displacement info from the C++ class to the pawn BP and add forces there. My question is how to send this information or access it in the blueprint.

The script from the tutorial, sends displacement data from a render target to the BP: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

The script with the Waveworks data I need to send:

.cpp // Fill out your copyright notice in the Description page of Project Settings. - Pastebin.com

.h // Fill out your copyright notice in the Description page of Project Settings. - Pastebin.com

Any help would be appreciated!

Somewhere in your C++ code where you generate your value Call:

And in any Blueprint who wants to respond to that Event:

The Broadcast part you probably can put inside OnRecievedWaveWorksDisplacement and pass it OutDisplacements[0] in.

Thanks for the reply! I’ll give it a shot and see what happens.