mob Stat()//Proc called stat ..() stat("---------------------Stats---------------------") stat("Gold",src.Gold)//Defines the var and uses it *Same as the following!* stat("Health",src.Health) stat("Experience",src.Exp)
This code does work but
How do I make anouther tab in my game a seperate one.
Everytime i try copying the code i get an error or something.
How do i do this?
Please help.
That article by Shadowdarke has everything you need to know about statpanels, but the basic thing you're looking for is statpanel().
Notice the if statements. If the player is looking at the Numbers panel, the stat("2","4") will show. This will prevent unneeded work when a player is not looking at that panel. You could do this without the conditions, but it would make your game work harder.