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.

Yay WAQL! But I STILL can't use != with most expressions/parameters for EXCLUSIVE queries?!

0 votes

I cannot fathom why, after all the years that Wwise has been used in AAA game development, there is STILL no option in the query editor to query by exclusion!

We have AND and OR operators in the GUI-based criteria grouping section, but STILL no NOT operator!

But what's worse is that, despite your release of the helpful and robust WAQL last year, I STILL cannot query a property using != with a RegEx (Regular Expression) statement to return everything that DOESN'T match the queried expression!

WHYYYYYYYYYY?!?!

There are SO many times every day that I could solve a problem within seconds if I could just do an exclusive query to return all objects EXCLUDING the queried statement. BUT NO! Instead, I'm still thrashing around in chaos, pining away, wasting hours of my life trying to create INCLUSIVE queries that effectively include everything except the one thing I want to exclude. These queries often end up being so bloated and complex that I'd be laughing about them if I wasn't so tormented by the necessary evil of their existence, and the personal hell of being forced to create them because I STILL can't create a very simple exclusive query in far too many cases, and for far too many parameters.

PLEASE, Audiokinetic, PLEEEEASE add the NOT operator in the criteria grouping section in the query editor, and/or add support for the != operator to be used in conjunction with WAQL and RegEx statements!!!!!

And I'll say THANK YOU in advance for saving me from losing my marbles as a result of another few years of being stuck with mainly only inclusive operators for querying objects in Wwise!

asked Sep 15, 2022 in Feature Requests by Mike MKJ (280 points)

1 Answer

0 votes
 
Best answer

In WAQL, to reverse the logic of a condition, use the ! operator in front of the condition.

Examples: 

$ where ! name = /^Ambient/
$ where ! (name : "Ambient") or ! (name = /\d+$/)

answered Sep 16, 2022 by Bernard R. (Audiokinetic) (35,110 points)
selected Sep 16, 2022 by Mads Maretty S. (Audiokinetic)
...