mob/Stat()
stat(src)
i added this code to my game code so i could see my oicon in statpanel probl;em is it gets rid of all other stats so where shud i put it??
ID:159364
Mar 24 2009, 12:38 pm
|
|
Mar 24 2009, 12:57 pm
|
|
In response to Howey
|
|
ty
|
In response to Howey
|
|
Calling statpanel() is not required; as it is, "Stats" is the default panel name anyway. Note he didn't mention anything about his stat() call not working.
|
The problem here is that you've overridden your previous override(s) of Stat() so that this one takes precedence and the others are not called. You can let the other override(s) of the proc be processed by calling the parent proc, but the solution would be to simply not split your code across different overrides in the first place; it's just silly to spread code across multiple overrides of the same path in the first place, and it brings no benefit whatsoever and just hassle. Your doing so is probably a sign you've just copied that block of code from somewhere thinking that would be enough or you've learned from bad sources that have 5 mob/Stat() overrides on them, or something.
|