mgregory22

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Link to Modulator modulation type property #68626
    mgregory22
    Participant
      • Topics: 1
      • Replies: 2
      • Total: 3

      @Possemo:
      That line declares a function. Osc1Pitch_OnChange is the name. mod, value, and source are the formal parameters. –[[ CtrlrModulator –]], –[[ number –]], and –[[ number –]] are comments indicating the parameter types.


      @goodweather
      :
      I don’t know where to find the PanelLoaded method. I assume you’re referring to the method assigned to the “Called when the panel has finished loading” property?

      I tried to assigned a variable in there, but my OnChange can’t see it. Even if I call GetModulator() right in my OnChange handler, it has no effect.

      in reply to: Link to Modulator modulation type property #68621
      mgregory22
      Participant
        • Topics: 1
        • Replies: 2
        • Total: 3

        Thanks, but that’s not working for me. It says:

        At line [8]: [string “PfmPan_OnChange”]

        Error message: [string “PfmPan_OnChange”]:8: attempt to call global ‘isPanelReady’ (a nil value)

        And if I remove the ready check, it says:

        At line [15]: [string “PfmPan_OnChange”]

        Error message: [string “PfmPan_OnChange”]:15: attempt to index global ‘txtCurrentValue’ (a nil value)

      Viewing 2 posts - 1 through 2 (of 2 total)
      Ctrlr