Hi all,
Im wanting to link a Subhealth variable to my Health variable, so that each time my health is reduced by an amount, the Subhealth variable is reduced by an different amount.
Both the health and subhealth start at the same number.
i have got this working, but its a very long winded way of doing it by checking the health number and setting the subhealth number.
is there a way to do this much simpler, maybe based on a percentage of the health? and how would i even work out a percentage of my max health would be?
sorry if this all sound a bit dumb, im new to all this.
thanks