Hi there,
I'm working on a tool that automatically creates events on import. I'm stuck on what to do when there is a name conflict. Desired behaviour is that if the event already exists, add another action to that event. I thought that the "merge" setting for onNameConflict in the call below would cater for that, but I have found that it creates a new event with an incremented name instead (what I thought would be the behaviour for the "rename" setting).
{
"parent": "\\Events\\Default Work Unit",
"type": "Folder",
"name": "WAAPI",
"onNameConflict": "merge",
"children": [
{
"type": "Event",
"name": "Play_SFX",
"children": [
{
"name": "",
"type": "Action",
"@ActionType": 1,
"@Target": "\\Actor-Mixer Hierarchy\\Default Work Unit\\SFX"
}
]
}
]
}
I have tried giving the Action a name in the child object, thinking that maybe that would help Wwise work out the merge, but that didn't work either.
Is there a way to add another Action to an existing event with this call, or would it require me to do another @object.get, copy all actions and settings across, add the new action and replace the old object with the new?
Thanks
Jake