menu
 

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

0 votes
I try to change a rtpc value for just on gameObject and not on a global scope.
I try this:
AkSoundEngine.SetRTPCValue(rtpcName, rtpcValue, gameObject);
But the rtpc is not change when i launch my program.
Anyone have a solution for this ?
in General Discussion by Maxime T. (140 points)

2 Answers

0 votes
I had this issue when trying to change the volume on a bus. Apparently the bus is global and so no gameObject must be passed to the method. Not sure if you are trying to do the same.
by b h. (140 points)
0 votes

In fact i was in the wrong gameObject.
And i found that for use a rtpc on a global scope you have to change the last parameter of the setrtpcvalue function by "null" or "AK_INVALID_GAME_OBJECT ".

by Maxime T. (140 points)
...