I have local variables set up for the player's health in my game. When it reaches 20% or less, I want the health bar icon to flash. Currently, I have it hardcoded for when the health is <= 5, it flashes. This works fine. However, when I try to do the following, it still flashes at 5:
On player ---> compare variable player.hp ---> when value = player.MaxHp*0.20
For some reason, it will not calculate the *0.20, any advice on why this may be?