Quote:
Originally Posted by Tyhm
I mean I used to have it set up such that
the putnpc
function oncreated(){
//etc
ZombieControl.addMob(this);
//etc
}
ZombieControl
public function addMob(param1){
this.mobs.add(param1);
}
Maybe I didn't have it as a public function, maybe that was the whole problem. Pretty sure I did, but I've been wrong before.  ;
|
That looks fine to me, also make sure you check if it is already in the list.