Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-10-2006, 02:19 PM
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
I seem to have small problems with shoot, it fires alright but the bullets/projectiles dont hurt the player.

Quote:
Originally Posted by Shoot
setshootparams #w,#v(this.gunpow);

shoot this.dx,this.dy,playerz,this.angle+random(this.max angle*-
1,this.maxangle),0,0,millenium_bullet,;
Then after a lot more script...

Quote:
Originally Posted by actionprojectile
if(actionprojectile){
if(strequals(#p(0),#w)){
playerhearts-=strtofloat(#p(this.pow));
}
}
Unless that has to be a serverside action?
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:31 PM.


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