There are lots of ways to do this, each having a slightly different color.
Brute force would be to add gates in front of all the triggers; put a bangbang in front of the main lp.tata, the rightmost bang would open all the gates, the leftmost bang would trigger tata. As soon as one trigger is activated, it would also close all the gates to its left.
Another way would be to use tata to generate values with only a single bit set. You can use a [lp.tata 0 31] connected to a bit shift operator, something like this:
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.