top of page
- API -

switchGroup, switchList, switchCount = reaper.AZ_Wwise_GetSwitchSet(switchGroupName)

- API Detail-

▼Input value

switchGroupName(String): Switch group name


▼Output value

switchGroup : Switch group information

-ID: Switch group ID

-Name : Name of the switch group

-Path: Path of the switch group

switchList: Array of switch information

-ID: Switch ID

-Name : Name of the switch

-Path: Switch path

switchCount : Number of switches

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


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

switchGroup, switchList, switchCount = reaper.AZ_Wwise_GetSwitchSet("attribute")

Msg("GroupName: "..switchGroup.Name)

Msg("GroupID: "..switchGroup.ID)

Msg("GroupPath: "..switchGroup.Path)

for i, value in pairs(switchList) do

Msg("switchName: "..value.Name)

Msg("switchID: "..value.ID)

Msg("switchPath: "..value.Path)

end

reaper.AZ_Wwise_Disconnect()

end

Wwise

AZ_Wwise_GetSwitchSet

Supported versions:

1.0.3

onwards

Get information about switch groups and the switches they contain

bottom of page