Page 1 of 1

MultiSwitch Index of Max/Min

Posted: 25 Mar 2021, 12:11
by Naggar
Hi,
For Multi switch node when using Floats/Ints, Would it be possible to output the the Index of the output as well?

Say you have a multi switch with 5 inputs

2, 4, 12, 8, 9

If Max mode is selected, there would be two outputs: (Value: 12, Index:2)
If Min mode is selected, there would be two outputs: (Value: 2, Index:0)
and i suppose if two inputs are the same it could give the first index with that value

Re: MultiSwitch Index of Max/Min

Posted: 20 Jun 2021, 11:29
by Naggar
is that a no?
^_^

Re: MultiSwitch Index of Max/Min

Posted: 24 Jun 2021, 10:10
by Dennis
You can bind the Index to whatever you want and therefore get the actual index ;)

:?: :idea: :!:
wazzup.jpg
no? yes? :D :P

regArts
Dee

:ugeek:

Re: MultiSwitch Index of Max/Min

Posted: 24 Jun 2021, 10:43
by lerou
not what he meant. He wants to know the index of the value that's used in cases like min oder max. He's not using the index mode.

Re: MultiSwitch Index of Max/Min

Posted: 01 Aug 2021, 08:58
by Naggar
lerou wrote:
24 Jun 2021, 10:43
not what he meant. He wants to know the index of the value that's used in cases like min oder max. He's not using the index mode.
yeah exactly :)