First time here? Check out the FAQ!

Is there a shortcut to set many widgets to the same value?

+1 vote

In this kind of situation,

all the buttons seem to be drawn by default with a value above 0, but I'd like to store a preset where they are all set to 0.

Of course I could invert the buttons logic in the Capytalk constructor script, but I'd prefer not to. Is there a way to select all and set to the same value?
asked Jun 29, 2017 in Using Kyma by cristian-vogel (Master) (8,370 points)

1 Answer

0 votes

I asked a related question to this:

where I was struggling with a single VCS control. The answer we came up with in the end was to use a TriggeredSoundToGlobalController with AllowLiveOverride that triggers when !localTime eq: 0,  which means at start up it sets the value of the VCS control.

That doesn't help you with an array of controls, but you could use the replicator or script the creation of a whole bunch of TSTGCs. I wonder if that would be computationally wasteful. Perhaps not.

answered Sep 26, 2017 by alan-jackson (Virtuoso) (15,740 points)