ID:179422
Dec 30 2001, 6:52 pm
|
|
ok... I need to know how to add items and take away items from an already existing stat panel. I already have the stat panel in place, but when a certain event happens, I want to add things and take them away. Thanks!
|
In response to Cinnom
|
|
Cinnom wrote:
I think you're looking for something like this: And if it gets set to 0 it goes off? |
In response to Creek
|
|
Yep.
|
In response to Cinnom
|
|
Cinnom wrote:
Yep. ok.. thanks A LOT!! |
mob
var/stat1
var/stat2
var/stat2on
Stat()
stat("Stat1", src.stat1)
if(src.stat2on == 1)
stat("Stat2", src.stat2)
When the user's stat2on var gets set to 1, the stat2 will be shown in the panel, whereas stat1 is always shown.