hehe, do something that's more fun, like this;
NPC Code:
if (playerenters) {
this.radius = 5;
this.sectors = 8;
toweapons Flame Spiral;
}
if (weaponfired) {
for (this.i=3;this.i<this.radius+3;this.i++) {
for (this.a=0;this.a<6.28;this.a+=(6.28/this.sectors)) {
putexplosion 1,playerx+1.5+this.i*cos(this.a),playery+1.5-this.i*sin(this.a);
}
sleep .1;
}
}