Stat() proc, some help needed. in Developer Help
|
|
Well guys, I'm trying to show a symbol next to the mob in the Stat() proc. But I want the mob still to be right-clickable in the panel.
I've tried this, but it isn't working out.
mob/Stat() statpanel(" ~~~~~ Who ~~~~~ ") for(var/mob/C) var/ACTIVE="\<.IMG CLASS=icon SRC=\ref\"Symbols.dmi\" ICONSTATE='ACTIVE'> [C]" var/AFKSYM="\<.IMG CLASS=icon SRC=\ref\"Symbols.dmi\" ICONSTATE='AFK'> [C]" if(C.client) if(C.Hide == 0) if(C.client.inactivity>300) stat(AFKSYM) else stat(ACTIVE)
|
Any response is appreciated!
Yours truly, Raimo.
|