Filter can output 0

Apparently filters can output a 0. Look at my fighter code in the health bundle for info

Now I found a solution for situations like this: Just make another filter if it equals 0 and it fails make it do whatever

Mostly likely the value was a decimal such as 0.13452

I made it to EXACTLY 30 and when it passed it outputted 0 causing death animation

Looking at it now, its just your coding order.
You are getting the global value before its set by the once, making it output 0 first.
When there is no value in the global, the defualt value is 0.
Remember that behavior order is left to right.

1 Like