ID:150228
 
how do i code or put meters on stats panel i have the meters i just need to put meters on exp and rage so who do i do that
make your meters as objects

obj
meter1
icon = 'something.dmi'
icon_state = "100%"

then make a variable for the mob

mob
var
mymeter

then when the mob is created..

mob
New()
var/obj/meter1/A = new
src.mymeter = A

mob
Stat()
statpanel("Stats")
stat("Meter1:",mymeter)//displays the meter

and thats all there is to it!

FIREking