Okay, so the way my game is set up, a health system was set up. But the kicker is the player starts out severely wounded (at half health to be precise.) So I devised a revised health system in which "health" is an integer attribute, but not a status attribute.
Instead, I want a status attribute (ironically named "Status") that summarizes the player's general state of well being.
i.e.
player health = 100, Status= Excellent
player health = 99-80, Status = good
player health =40-20, Status = Wounded
And so on an so forth. Problem is, I've been trying to set up the script to change "Status" depending on health, but so far everything I've tried has either resulted in the player's Status being blank or constantly being "Excellent". Despite the fact that they have half health.
Help?