Download

Help with battery power BP

Hey guys,

I’m setting up a BP for a torch that reduces the battery power of the torch over time.
So far this is what I’ve come up with

Here are the BPs I am using to activate the torch (This works).
cxoChEx.png

This is the code that I am using to decay the battery power over time. One of the issues i’m seeing is that 1, the battery power isn’t displayed on screen and 2, the battery never actually runs out.
0f271cdc8aaae5b813a6cb2cea0bd8f4a9a265e1.png

Put a print string before the branch node. I wouldn’t be surprised to find out it is never true.