View Single Post
  #3  
Old 09-12-2007, 02:52 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by DustyPorViva View Post
No built-in way. Ways of projectiles hurting via playertouchesme is very, very outdated(Stefan used to have the Ice arrows do that in old Graal :P).
Either use projectiles(shoot) and use onActionprojectile(or the other varieties, and I recommend this method) or use a loop of the players and check if the player is in 'touching' the NPC by calculating its distance... or triggeraction.
umkay, how would you use onActionprojectile in a script??

function onWeaponfired(){
shoot(projectile);
}
function onActionProjectile(){
i have no idea;
}
__________________
**FLIP OUT**
Reply With Quote