Hi, I was wondering if there was a way to make the counter tool count backwards. I need it to start full, and count backwards. I'm basically using it for a health bar, so it would look weird if it was counting up. I know about the projectile sensor, but that doesn't work with my custom projectiles. If anyone knows how to do this that would be great. All help is appreciated. Thanks
Solved! Go to solution
Yeah, if you set it to reverse output (in the counter's tweak menu), you should find that, functionally and display wise, it now counts down, emitting a signal all the way until it hits zero.
Ah ok now I feel dumb. When I tried using the "invert output" option, I also set the current count to 3 out of 3. I didn't know that it automatically inverts the current count to. For some reason I assumed you ahd to manually set the bar to full. Thanks for the help.
Hahaha well thanks. I was also wondering if there's a way to make a trigger give an output multiple times at once. Specifically, I want to make it so when a certain type of projectile hits the target, the counter goes down twice at once. I know I can have it where the bar drops twice really quick, but I can't get it to go instantly.
Yeah, the easy way is to send two pulses in rapid succession to your counter, as you've no doubt already tried. If you want to be able to vary the amount of 'damage' each hit takes, then you'd be better off with a timer. That will allow you to drop the health bar by any percentage you like with each hit.
It would take some time to explain it, so let me point you to comphermc's 'LBPlanetorial' on Youtube which does a far better job than I ever could.
Oh I actually tried something similar to that tutorial, but I didn't realize you could adjust the power of batteries. I'll have to give this a shot. Thanks again.