top of page
- API -

objectList = AZ_GOLD.AZ_Wwise_GetAllActorAncestorList(itemID, excludeList)

- API Detail-

▼Input values

・itemID(String): Wwise object ID

・excludeList(table): list of object names to exclude when retrieving (array format)


▼Output values

・objectList(table): array of objects

  -ID(string): object ID

  -Name(string): object name

  -Volume(number): object volume value

  -MakeUpGain(number): object gain value

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


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

    itemList = reaper.AZ_Wwise_GetSelectedObjectList()

    

    Msg("none exclusion")

    objectList = reaper.AZ_Wwise_GetAllActorAncestorList(itemList [1]["ID"])

    

    for k, obj in pairs(objectList ) do

        for k, v in pairs(obj ) do

            Msg(k .. " : " .. tostring(v))

        end

    end


    Msg("")

    

    Msg("exclusion")    

    excludeList = {"ACTOR_02"}


    objectList = reaper.AZ_Wwise_GetAllActorAncestorList(itemList [1]["ID"], excludeList)

    

    for k, obj in pairs(objectList ) do

        for k, v in pairs(obj ) do

            Msg(k .. " : " .. tostring(v))

        end

    end


    reaper.AZ_Wwise_Disconnect()

end


Wwise

AZ_Wwise_GetAllActorAncestorList

Supported versions:

1.0.0

onwards

Get all ancestors of a given Wwise object

bottom of page