1. How often is stat called?
2. Can you put other procs besides statpanel in Stat()?
ID:158140
![]() Oct 22 2009, 11:04 am
|
|
What i was doing was i was going to make a clever interface system that revolved around changing labels and doing away with statpanels and i thought that I would put it in Stat()
|
If the labels represent what the statpanels would otherwise represent, then Stat() is sort of a half-appropriate (or a quarter, maybe) place for this.
As a technical answer to your question, yes. Stat() is just a normal old function in most respects. You can do whatever you want in it as in others. The reverse is not true though, as some things you can do in Stat() you cannot do elsewhere; that is, stat() and statpanel() can only be used from within Stat(). As a logical answer to your issue, you would probably be better off changing the labels when something in-game happens to cause the contents to change. |
There's probably an article about or containing info about Stat().