@danielhalat .... before I learnt what index was :P I used integer for things like my timers. I had a timer counting down and of course it went negative. So I just put in if timer<1 then timer=0 so that might help?
I found something like min / max in expression ediitor. max set the minimal number that can an attribute contain. Very usefull! E.x. Change attribute:Life > max(1, 50-100) - the attribute Life will be never lower than 1 or any number you put instead of 1.
Comments
ABS
Usage: abs(x)
The absolute value of the number. i.e. make the number positive if it is negative.