top of page
- API -

wwiseStateModification = reaper.AZ_Wwise_GetStateModificationFromFile(itemID, workUnitPath, targetStateGroup, targetPropertyList)

- API Detail-

▼Input values

  • itemID(string): ID or path

  • workUnitPath(string): work unit file path

  • targetStateGroup(StringArray): target state group name list (optional, default: empty)

  • targetPropertyList(StringArray): target property list (optional, default: empty)



▼Output values

wwiseStateModification(WwiseStateModificationArray) : 

    ID

    Name

State (array)

        ID

        Name

        CustomStateName

        CustomStateID

        ShortID

Properties…

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


if reaper.AZ_Wwise_Connect("127.0.0.1", 8080)  then


    selectedobjList = reaper.AZ_Wwise_GetSelectedObjectList()


    modificationList = reaper.AZ_Wwise_GetStateModificationFromFile(selectedobjList[1]["Path"], "D:\\rigdocks\\01_APIDock\\a\\Default Work Unit.wwu", {"Mode"}, {"Volume"})

     

    ShowObject(modificationList)

          

    Msg(reaper.AZ_GetErrorMsg())


    reaper.AZ_Wwise_Disconnect()


end

Wwise

AZ_Wwise_GetStateModificationFromFile

Supported versions:

1.1.0

onwards

Get per-state change values from the work unit file

bottom of page