I was trying to put an icon in a statpanel so it would be displayed like this
Icon: [icon]
code looks like this
stat("Building Now: ",usr:bitem:icon)
and then Later on in the code it says
usr:bitem = new /obj/build/bed/top()
I am trying to assign the var bitem to another obj.
I was woundering what are my problems and how can I fix them thanks pease help.
ID:261276
Nov 25 2001, 6:45 am
|
|
obj
meter
icon = 'something.dmi'
mob
var
mymeter = null
New()
var/obj/meter/M = new
src.mymeter = M
Stat()
statpanel("Stats")
stat("Meter:",mymeter)