we need to compare two values and if one is larger, set the S+H set to 1, otherwise set it to 0. The problem is that we can’t connect the output (boolean) of the comparison to the S+H set value

is there any way around this?

like this?

compare.v4p (3.6 kB)

or this?.. no text …

compare2.v4p (4.9 kB)

Why can’t you use the Max node ?

I can, not sure why you can’t (unless it is a feedback loop issue, aka framdelay). Next time attach a little patch so we can patch a way to the solution.

Perhaps a toggle node or a flipflop node can help?

We’re getting a single value from the select which we want to keep if it’s the largest one so far. how do we do that?

here is the patch

thank you for your help so far!

Trautner xy_modt.v4p (14.1 kB)

guess, you want this

//file removed

woei, reset doesn’t work…

sry, didn’t test

here it works

Max (Animation).v4p (5.2 kB)

@Woei, didn’t you just patched the node called : Max (Value)?

Max (Vaulue AND Animation).v4p (8.7 kB)

@West: no, should have been Max (Animation) but turned out Max (Animation Too Complicated)…
your’s is just as minimal as it can get, nice