This works perfectly for me, but in the new baddy I'm making the actonprojectile in the Control-NPC does NOT see the new projectile. I can see it shoot, but the Control-NPC doesn't get it when it lands.
Baddy script:
NPC Code:
a=getangle(this.distancex-x,this.distancey-y);
setshootparams arrow,batboss,3,batboss,batboss;
shoot x,y,z,a,1,-1,nol_batbossproj,nol_batboss.png;
Control-NPC:
NPC Code:
if (actionprojectile) {
sendtorc PROJECTILE: #p(0):#p(1):#p(2):#p(3):#p(4):#p(5):#p(6):#p(7):#p (8);
}
The Baddy is a DB-NPC.
EDIT: By the way, the Control-NPC gets all other projectiles, like the bows and magic I've got.