ID:159586
 
I have currently been working on making a skin for my new game. its going smooth, but i cant figure out how to make it so the bar's in the skin will show the progression in level with character's hand2hand, melee, and ranged weapon stats.

If anyone could help me with that it would be greatly appreciated :)
To do this, you would use the winset() proc to change the bar's value param, which takes a value between 0 and 100. You can search 'auther:"Jeff8500" winset()', and after sifting through some results, you'll find an explanation on the proc I wrote a couple of months ago.

In essence, this is what you want.

mob/proc/Update_Bar()
if(!client) return //if the mob has no client, return to prevent errors
winset(src,"barID","value=[HP*100/HP_max]")
In response to Jeff8500
Thank you! that helps a lot.