View Single Post
  #1  
Old 06-01-2006, 06:22 AM
Omini Omini is offline
Millenium Owner
Join Date: Feb 2006
Location: N.Ireland
Posts: 293
Omini is on a distinguished road
Send a message via AIM to Omini Send a message via MSN to Omini Send a message via Yahoo to Omini
Quick Question (regarding setshootparams)

Ok so if I put this into a weapon npc (ie. a gun)

NPC Code:
setshootparams(shoot,this.gunpow);



Is it possible to put the

NPC Code:
function onActionProjectile()
{
if (params[0] == "shoot") {
//Scripting Stuff
}
}



In another NPC or does it HAVE to be in the same weapon that the setshootparams was set in?
__________________



Reply With Quote