ID:158885
 
how do i make so that

src.Battlepower=0
src.Battlepower_max=60

src.Battlepower = 10(any number)% of src.Battlepower_max


so if Battlepower_max = 60 and i want to make Battlepower = 10% of Battlepower_max. I want it to be 6 that is 10% of 60
Didn't you learn how to calculate a percent in school?

value / max_value (e.g. 100) * 100 = the percent

X percent of something is X/100 * max_value
In response to Kaioken
thanks and no