This was a journey and a lot of hurt chasing the “array index out of bounds” errors with no way to trace which array exactly caused this (the log says “Check GPScript Settings” - which settings?), fighting those feedback loops (the solution offered here by @David-san worked locally, but not so well with OSC, so I had to implement different logic for buttons and knobs), doing extra typing (why, oh why the “From” part of callbacks can’t accept variables?), I finally managed to implement dynamic linking across rackspaces to have global parameters the way I need them to work.
@dhj can we please please have global parameters that don’t require mapping widgets to plugins, but rather using a pub/sub model of sorts? With SetGlobalParameterValue, GetGlobalParameterValue, On GlobalParameterValueChanged or some such?