$ENGINE_PAR_TUNE problem

Discussion in 'Scripting Workshop' started by CK_S, Jul 7, 2019.

  1. CK_S

    CK_S NI Product Owner

    Messages:
    53
    hello, I am trying to make a custom slider to adjust group tune...

    unfortunately does not work

    Code:
    set_engine_par ($ENGINE_PAR_TUNE,500000+($slider10/139),1,0,-1)
     
  2. EvilDragon

    EvilDragon Moderator Moderator

    Messages:
    14,965
    Second to last number should be -1, not 0.
     
  3. CK_S

    CK_S NI Product Owner

    Messages:
    53
    that didnt make any change...when slider is at maximum value it only affects tune knob like that:
     

    Attached Files:

  4. EvilDragon

    EvilDragon Moderator Moderator

    Messages:
    14,965
    Yes, that's what $ENGINE_PAR_TUNE will do (and what you asked for in the opening post - "adjust group tune", right?). If you want to adjust the modulator amount instead of group tune, you use a different engine parameter. And yes, that has been explained in the sticky thread :)