ID:176316
 
Is there anyway to make it so that you can click a HUD button to make a statpanal appear, and than click the button again to make it dissapear?
Yeah, sure.
mob/var/StatVar
obj
StatPanelApparition
Click()
if(usr.Stat)
usr.StatVar = 0
else
usr.StatVar = 1
mob/Stat()
if(src.Stat)
statpanel("Boo")
stat("Ghost")
<dm>
[EDIT] Of course, your going to have to add the screen_loc and everything else needed for the object to appear on the screen.
[EDIT] Oopsy, I did a something wrong, it's fixed now.
In response to Thief Jack
thank you ^_^