top of page
- API -

wwiseStateModification = reaper.AZ_Wwise_GetStateModification(itemID, targetStateGroup, targetPropertyList)

- API Detail-

▼Input value

itemID(string) : ID or path

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

targetPropertyList(StringArray) : Target property list (optional, default: empty)



▼Output value

wwiseStateModification(WwiseStateModificationArray) : ID

Name

State(array)

    ID

    Name

    CustomStateName

    CustomStateID

    ShortID

    Property…

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())


require("reaper_AZSTOKE_GOLD")

function showObject(object, depth)


    local obj = object

    if depth == nil then depth = 0 end


    if(type(obj) == "table") then

        Msg("")

        for k, v in pairs(obj) do

            for i = 1, depth, 1 do reaper.ShowConsoleMsg(" ") end 

            reaper.ShowConsoleMsg(tostring(k) .. " : ")


            showObject(v, depth + 4)

        end

    else

        Msg(obj)

    end

end



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


    selectedobjList = reaper.AZ_Wwise_GetSelectedObjectList()


    modificationList = reaper.AZ_Wwise_GetStateModification(selectedobjList[1]["ID"])

     

    showObject(modificationList)

          

    Msg(reaper.AZ_GetErrorMsg())


    reaper.AZ_Wwise_Disconnect()


end

Wwise

AZ_Wwise_GetStateModification

Supported versions:

1.1.0

onwards

Get the change value for each state

bottom of page