@d-healey Thank you, I must have missed that in the docs
E
Latest posts made by eokeefee
-
RE: Button Script not working...posted in Scripting
-
Button Script not working...posted in Scripting
I'm trying to make it so when I press a button it bypasses a scriptfx, and does some logic I need to script. Right now I have it correctly bypassing the scriptfx, but when I try to do simple logic it doesn't call the function.
//Bypass Button: Console.print("Check!"); inline function onBypassControl(component, value) { Console.print("Do Logic"); }; Content.getComponent("Bypass").setControlCallback(onBypassControl);The console output looks like this even after pressing the button multiple times:
Interface: Check! Interface: Compiled OKCan anybody help?