I need some help- so i have a zone that every 60 seconds it activates and after 60 seconds deactivates all throughout the game. What im trying to do is to get a count of how many times the zone has deactivated after activation. Help?
There is a block called Seconds into game, you can use that and do
floor(Seconds into game / 120) * 120
assuming it starts deactivated
Use your deactivate system ig you’re using a repeater because you don’t know trigger timers (whatever). When repeater runs tasks that deactivates it just increment counter. Then you’ll know because the amount of times deactivated will be there. Please mark a solution of this post if this works. @SuffyPro97 they already have their system they just need a way to measure it. At least see whether other systems work before clogging up a topic.
set a counter target value to a high number (or 0 if you just want it to count up indefinitely)
use a wire repeater set to a 60 second interval
connect the repeater to the zone (activate on signal)
connect the repeater (after the 60s delay) to the zone (deactivate on signal
wire the same “deactivate” signal that goes to the zone to the Counter (increment on signal)
0-60s the zone is active
60s the repeater sends signal to “deactivate zone” and sends a signal to “increment counter”
the counter increases by 1 each time the zone shuts down
use a text device and make it to display the value from your counter
note: make sure your zone is set to global if you want one central count for all players, or player if you want to track it per player.
If you are using two triggers (Trigger A activates, Trigger B deactivates), simply link a channel from Trigger B to a Counter to increment it.
tips: if the zone takes time to deactivate, the count might trigger multiple times. make sure the “deactivate channel” is only sent once per cycle.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.