I’m trying to make the general case of decrementing a counter by N. If you want to know anything about this system, please just ask! I’m trying to make a more efficient version!
To be honest, I have never seen this before. No, @CassiusDoomlorde, this is something different that I totally haven’t been thinking about doing since May and only got around to it now.
I have an idea. In the bottom counter, make it track a property. In a trigger, make a different property have the same value as the property in the counter. Have it check “if noncounter property > 0, do broadcast message on channel to the top counter, and subtract the noncounter property by 1.” Connect that trigger to a wire repeater, and the wire repeater to a trigger. This could work as long as you don’t use a negative number in the counter.
It almost works. My brain is melting looking at this code (just got back from vacation and had school the day after, head hurts), so I’ll leave this open.
How to make a for loop: (typing on phone so this will be a limited desc)
A) make a number property
B1) have a trigger, receive on B, send on A
B2) trigger has blocks: if property is 0, broadcast on C, else, subtract one from property
C) create second trigger, R: A, S: B, deactivate on C