Radio button group with selectable numDown

Like if you have a group of 20 buttons but only want to be able to select 4 at a time. Maybe it could lock the other 16 until one is untoggled, or pop the oldest one from the queue.

I was able to create this effect with a chop network and a script, but it’s quite ugly and a lot of references by hand.