How to decrease value in time?

Hello!
I have a problem with my blueprint. It’s changing three things by clicking “F” key: noctovision, flashlight, and normal view. Its working fine but i would like to make a batery for noctovision which is decreasing while it’s on. I know i should use event tick but its doesnt work in the middle of the program. The noctovision branch is pointed on the first picture. The batery level is set to 100 and conected to “EventBeginPlay” Sorry if my grammar is bad :slight_smile:

Create New Timeline to control values over time.

Also use Sequence Nodes to better organize your sequential events after the flip flops

I would also suggest using Branch with bools instead of 3 flip flops, one of which returns to flip the flop anyway.

Oh Yes i forgot about the timeline. Thank you very much for help :slight_smile:

No problem, happy to help :slight_smile: