In the past I just used switches and made them radio like with logic.
how are they entangled correctly?
how are they entangled correctly?
DeclareParameterRadio1(&r1, ID_RADIO_1, "R1", "R1", float);
DeclareParameterRadio2(&r2, ID_RADIO_2, "R2", "R2", float);
Posté Fri 29 Apr 22 @ 12:26 pm
Currently they act the same as a switch, so you have to check in OnParameter when one is activated that you disable the others. (And decide what to do when an attempt is made to turn one off)
Posté Fri 29 Apr 22 @ 12:53 pm
I see thanks. And I thought I was being lazy/inefficient doing the logic myself, turns out that's how it's done.
Posté Fri 29 Apr 22 @ 2:04 pm
Would indeed have made sense, but it's a leftover from the way it worked in vdj 7
Posté Fri 29 Apr 22 @ 2:24 pm