Counter problem
I wanted to have three trigger zones that have all to be activated once in order to start a timeline. I put a counter in my chip, wired each of the trigger zones into the "add to counter" (+ symbol) port, set count target to 3 and wired the "counter finished" port into the timeline.
It didn't work. A number display wired to counter value showed that the first trigger zone increased the count from 0 to 1, but the other trigger zones didn't increase it beyond that. They were correctly triggered though, because other stuff wired to them did execute.
Why doesn't the counter work in this way?
My workaround was to use 3 separate counters each set to target value 1, which worked fine, but shouldn't it be possible with one?
-
It could be that your trigger zones are overlapping in places. Counters increment when a signal changes from 0 to >0 so if one of the trigger zones is already sending a signal the it would block the second trigger zones signal.
Your solution with 3 counters is what I would do as it’s much less prone to bugs.
Hope this clears things up a bit :) Peter -
They were far a apart actually, definitely no overlap.
But good to know that my clumsy (as I thought) solution is actually the recommended one. Thanks!
댓글을 남기려면 로그인하세요.