Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to use Unreal c++ to trigger events/control RTPC? What I try doesn't work..

0 votes
I'm having trouble using Unreal (4.25) C++ to post events as well as control RTPCs, or use any of the other features. Blueprints is fine but I feel I don't understand the correct way to do this with C++.

Integrations are all up to date and using the correct ones as far as I can tell, integrated via the launcher.

Is there a difference between using the Wwise_IDs.h and using AK::GAMEPARAMETERS::PARAM or the name itself AK::SoundEngine::SetRTPCValue(L"Param", Value)? Where Value is a number between 0-1.

I've also tried adding an AkComponent then calling AkComponent->SetRTPCValue(L"Param", Value) and AK::SoundEngine::SetRTPCValue(L"Param", (AkRtpcValue)Value)?

Also when I use either one of these my game crashes - i'm not sure why, it looks for the AkAtomic.h file but can't find it.

Can someone give me an example of how to use Unreal c++ and Wwise instead of Blueprints / tell me what I'm doing wrong?
asked Oct 25, 2020 in General Discussion by Mirren M. (100 points)

Please sign-in or register to answer this question.