sharing variables between scripts in different instruments

Simon12
Simon12 Member Posts: 2 Member
edited October 2024 in Scripting Workshop

Hello folks. Thank you in advance for any help you can give me.

So I have written scripts between different instruments with in Kontakt 6. And I need some variables as they change in script A (let's say strings) to be changed as well in script B (let's say horns). I have read a lot about PGS, and I am using it in my scripts. But I think, and correct me if I am wrong, PGS works with in the "same" instrument, just different scripts, right?

how can I achieve what I am trying to do, and that is have "global" variables between scripts of different instrument?


Thank you so much in advance and hope to hear from you guys soon.

Best regards.

Comments

  • Simon12
    Simon12 Member Posts: 2 Member

    Any body??? Please.

  • Kaiwan_NI
    Kaiwan_NI Administrator Posts: 2,912 admin

    Hey @EvilDragon would you be able to help Simon12 out? 🙂

  • EvilDragon
    EvilDragon Moderator Posts: 1,031 mod

    I can't, because this is not really possible in KSP. Or rather, there is an extremely kludgey way to do it (by writing an NKA to the disk then making all instruments refer to it, but you cannot force them to automatically update to the latest state, so you need to press "!" in top right to reset audio engine... not cool).

This discussion has been closed.
Back To Top