def SetGlobalRTPC(self, rtpcName, value): """ Use this method to set the value of a global RTPC in WWise from the application-level audio service. ARGUMENTS: rtpcName A string containing the RTPC's name. value The value to set the RTPC to. """ if not self.IsActivated(): return audio2.SetGlobalRTPC(unicode(rtpcName), value)
def SetGlobalRTPC(self, rtpcName, value): if not self.IsActivated(): return audio2.SetGlobalRTPC(unicode(rtpcName), value)
def maxVolume(): audio2.SetGlobalRTPC(u'volume_master', 1.0) audio2.SetGlobalRTPC(u'volume_ui', 1.0)