I'm trying to do a multidirectional trigger for fading in and out audio and I am trying to get the Dialogue System Trigger to invert a boolean variable via Lua.
I've tried these methods in the run Lua code section but all of them don't seem to change the boolean:
Code: Select all
Variable["Astromall.DowntownBGM"] ~= Variable["Astromall.DowntownBGM"]
Code: Select all
Variable["Astromall.DowntownBGM"] = ~Variable["Astromall.DowntownBGM"]