Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Waapi FindInProjectExplorerSyncGroup1 Argument not selecting multiple objects when an array is passed in

0 votes
Hi all,

Been trying to make a simple script where it will select all children of the selected object. My script isn't throwing back any errors but no matter what I set for the arguments, I'm only seeing the script select the first object in the array. I tried hard coding GUID's and paths of the children, passing in variables, and nothing seems to work. The documentation leads me to believe that the argument should be able to select multiple objects if I needed (https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=ak_wwise_ui_commands_execute_example_finding_and_selecting_objects_in_project_explorer.html) but doesn't seem to be working. I've tried using a for loop to parse through each child and nothing seems to be working.

Here's the script it's current state: https://pastebin.com/Zv2ShcRT

Again, like I mentioned. I've also replaced the variable listChildID here with an array of GUID's and paths that I've shift +right clicked to grab from my project

Seems like a bug with the function? But not sure if this is user error somehow

Thanks!
asked Jan 27, 2022 in General Discussion by Alex B. (200 points)
https://pastebin.com/kEmSN77b

Better code. Realized there was an error in the one I posted after I tried to clean up the sloppy commented out stuff I Was trying

Please sign-in or register to answer this question.

...