ID:149985
 
Lets say i have an icon i want in the stat panel called hi.dmi

how would i get it to appear in the stat panel above the stats?

/////////
Stat ////////
icon here /
/
/
/
/
\\\\\\\\\\\\\\\\
Here's the most simple way I know of:


mob
var
displayicon
New()
..()
displayicon = new/obj/blah

Stat()
..()
statpanel("Stats")
stat("Item",displayicon)
obj/blah
icon='blah.dmi'
Click()
set src in usr
usr<<"You clicked [src]!"


In response to Nadrew
Thanks Nadrew, you the man!