Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
I want to find a list of all objects of certain types (random containers and blend containers) which are not referenced by any events.

How can I achieve this?
in General Discussion by Lawrence S. (110 points)

1 Answer

0 votes

Hey Lawrence, 

Great question! Not sure if you can do that specifically, but how about reversing the search? 

For instance, start by finding all Random Containers and Blend Containers:
$ from type RandomSequenceContainer, blendContainer

... then copy the above list into a spreadsheet and search for all containers with reference to an Event Action:
$ from type RandomSequenceContainer, blendContainer select referencesto where type = "action" 

... and then go back to the target containers of the actions: 
$ from type RandomSequenceContainer, blendContainer select referencesto where type = "action" select target

From here, you could probably just filter the list of containers assigned to Event Actions, with the full list of random/blend containers in e.g. Google Sheet. Maybe something along the lines of...
=filter(A2:A, ISNA(MATCH($A2:A,$B$2:$B,0)))
... where A is the full list and B is the containers assigned to Event Actions.

If you're trying to clean out your Wwise project, here are a few other possibly useful WAQL sentences.
Get all empty Random or Sequence Containers: $ from type RandomSequenceContainer where childrenCount < 1
Get all Events with no Actions: $ from type Event where childrenCount < 1

Hope this works for you!

by Mads Maretty S. (Audiokinetic) (40.2k points)
I was trying to answer this question for a while last week and got stumped. This is a brilliant solution!
...