ID:165847
 
Hiya, for whatever reason I want to show the icon for a mob in my usr's statpanel. Iv tried a few things and just get blank space or obscure memory references.

Please, correct this code for me if only to make a tired designer smile :)

statpanel("Something","That guy",A mob's icon)
Ireus wrote:
Hiya, for whatever reason I want to show the icon for a mob in my usr's statpanel. Iv tried a few things and just get blank space or obscure memory references.

Please, correct this code for me if only to make a tired designer smile :)

statpanel("Something","That guy",A mob's icon)

Do you mean this?

mob/Stat()
statpanel("Status")
stat(src)
In response to Quest Industries
Ah, stat and statpanel act differently. Works now.
Thanks :)
In response to Quest Industries
Quest Industries wrote:
Ireus wrote:
Hiya, for whatever reason I want to show the icon for a mob in my usr's statpanel. Iv tried a few things and just get blank space or obscure memory references.

Please, correct this code for me if only to make a tired designer smile :)

statpanel("Something","That guy",A mob's icon)

Do you mean this?

> mob/Stat()
> statpanel("Status")
> stat(src)
>


i no it aint my thread but im saving opening another one, thanks for that bit of help, it helped alot for me to, but do u no if there is anyway to make the stat pannel mob change as fast as the mob, im only asking this cus its taking roughly 5 secs to change, or when the turfs change

thanks
In response to Sunami
It shouldn't take five seconds. But, as far as I know, there is no way to speed up Stat().
In response to Spector Entertainment
Spector Entertainment wrote:
It shouldn't take five seconds. But, as far as I know, there is no way to speed up Stat().

it is its the only reason i asked, thanks anyway