Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-06-2004, 02:03 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
shoot & actionprojectile

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.
__________________
-Kjetil Valen
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.