top of page
- API -

copiedItemID = AZ_Wwise_CopyObject(destItemID, destName, isUnique)

- API Detail-

▼Input values

  • targetItemID(string): source object ID

  • destItemID(string): destination object ID

  • destName(string): name at the destination (optional, default: source name)

  • isUnique(bool): if the object to create already exists, return only its data (optional, default: false)

▼Output values

  • copiedItemID(WwiseObject): copied object

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())    

require("reaper_AZSTOKE_GOLD")


reaper.AZ_Wwise_Connect("127.0.0.1", 8080)


targetItemID = "\\Actor-Mixer Hierarchy\\Default Work Unit\\Container_1\\Sound_1"

destItemID = "\\Actor-Mixer Hierarchy\\Default Work Unit\\Container_1\\Container_2"

destName = "CopiedSound"


copiedObject = reaper.AZ_Wwise_CopyObject(targetItemID, destItemID, destName, false)


ShowObject(copiedObject)


reaper.AZ_Wwise_Disconnect()

Wwise

AZ_Wwise_CopyObject

Supported versions:

1.4.0

onwards

Copy a specified object

bottom of page