MagnusNoctus
Potential Patron
- Joined
- Nov 22, 2022
Hey,
I was wondering if it was possible to check for a "not equals" or "!=" when dealing with Strings. I know there is an entire explanation for checking integers, but found that this won't work when checking String data.
There might be another way around this if there isn't a way.... I'm attempting to check to see if the girl is wearing any clothes (i.e. not "None"). I'm hoping that my dialogue can dynamically check to see if there are any clothes being worn before it attempts to remove a particular item. But the particular item could be one of many.
general:"I'm not wearing a bra." {"check":{"da.clothes.top.type":"None"}} // This one works
general:"I'm wearing some kind of bra." {"check":{"da.clothes.top.type":"!=None"}} // This one doesn't
Thanks for any help.
I was wondering if it was possible to check for a "not equals" or "!=" when dealing with Strings. I know there is an entire explanation for checking integers, but found that this won't work when checking String data.
There might be another way around this if there isn't a way.... I'm attempting to check to see if the girl is wearing any clothes (i.e. not "None"). I'm hoping that my dialogue can dynamically check to see if there are any clothes being worn before it attempts to remove a particular item. But the particular item could be one of many.
general:"I'm not wearing a bra." {"check":{"da.clothes.top.type":"None"}} // This one works
general:"I'm wearing some kind of bra." {"check":{"da.clothes.top.type":"!=None"}} // This one doesn't
Thanks for any help.