Kismet percentage returning 0 at 100%

I have the strangest issue with the kismet library percentage tool. I’m using it to determine the status of the energy bar for a game. Everything works fine, at least until the Energy reaches 100%. When it does, the percentage tool returns 0 instead of 100.
Did anyone else have the same issue?

http://puu.sh/uBg1J/6ae583c2fb.jpg

http://puu.sh/uBg7b/632d2a9170.jpg

http://puu.sh/uBgd1/1bc89cb323.jpg

Hi Beren89,

If you hover over the % node you will see it is actually for Modulo Operations (which finds the reminder after division) and not for handling straight percentage calculations.

1 Like

Alright, I see. Is there any way to do straight percentage calculations as the one I need or I need to make it manually?

And thanks for the link, the modulo operation was something completely extraneous to me =)

Yeah, you would need to do it manually. There is an ‘AsPercent’ node that converts a float to a percent in text form but as for percentage calculations, I couldn’t find much that would help there.

Ok, thank you!