I want to make it so that within the same statpanel I have headers that list stats. When the header is clicked, the stats can be retracted into the header.
Like:
Attributes
~~
HP
MP
Attack
Defense
and when you click attributes it just shows
Attributes
What kinda stuff can you do with it that isn't stated explicitly in the DM guide?
Aug 25 2014, 8:03 am
Best response
|
|
The only things that you can click in a statpanel are objects, so you would have to output an object in the panel that is set up to toggle a variable when clicked. The contents below that object would only show if the object's variable in question is TRUE.
|
http://www.byond.com/forum/?post=36411#stat
What I like to do is, for (very little) efficiency reasons and decreasing overhead, only have the "substats" appear only if the panel is active by using if() on the statpanel. mob/player Edit: Evidently, I did not read the post thoroughly |