Home › Forums › General › Programming › How do I use uiCombo? › Reply To: How do I use uiCombo?
October 20, 2020 at 3:51 am
#120379
Hi llatham,
Did
(6-modulatorValue)+61
work ??
It did! Thanks!!!
I’m trying to understand why this works.
61 – 62 – 63 – 64 – 65 – 66 – 67 are my values.
But it’s basically sending 0 – 1 – 2 – 3 – 4 – 5 – 6
So adding 61 to those makes them the numbers needed.
6-0 = 6 + 61 = 67 – so now the 0 value is the highest value of 67.
6-1 = 5 = 66
6-2 = 4 = 65
6-3 = 3 = 64
6-4 = 2 = 63
6-5 = 1 = 62
6-6 = 0 = 61
My brain wants to tell me that It should be 7 because there are 7 units, but it’s clear the math works out here.
So is it consistent that if I had 12 values, I’d have to use an 11 as the prefix to get it to work – a number 1 less than the number of values?