- API -
objectList = AZ_GOLD.AZ_Wwise_GetAllActorAncestorList(itemID, excludeList)
- API Detail-
▼Input value
・itemID : Wwise object ID
・excludeList: A list of object names to exclude when retrieving (array format)
▼Output value
・objectList: An array of objects
ID: The ID of the object.
Name: Name of the object.
Volume: The volume value of the object.
MakeUpGain : The gain value of the object.
- 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