Reply To: LUA Scripts in Positive Feedback Loop

Home Forums General Programming LUA Scripts in Positive Feedback Loop Reply To: LUA Scripts in Positive Feedback Loop

#118874
samoht
Participant
    • Topics: 1
    • Replies: 54
    • Total: 55

    So, you have a script that intentionally changes the value of a modulator but that you don’t want to unintentionally trigger a lua script, activated by that modulator when the value of that modulator changes.
    For this purpose you have written another Lua script that sorts out the source of the value change.

    In my eyes the problem is this: if the modulatorValue change is not allowed to trigger a Lua script, how is it possible then, when the modulator becomes the command to change value, to trigger a lua script that sorts out the source of his value change to block another Lua script, triggered by that same value change?
    So the Lua script to block another lua script when the modulator changes value must be triggered by the modulator BEFORE the command to change value arrives! If not so, the script is blocked by itself.
    But how can this be done?

    • This reply was modified 3 years, 10 months ago by samoht.
    • This reply was modified 3 years, 10 months ago by samoht.
    Ctrlr