HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. eokeefee
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Button Script not working...

      @d-healey Thank you, I must have missed that in the docs

      posted in Scripting
      E
      eokeefee
    • Button Script not working...

      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 OK
      

      Can anybody help?

      posted in Scripting scripting button vst3
      E
      eokeefee