Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-22-2004, 05:33 AM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by falco10291029
well he is trying to fix so far no luck but we have these deductions:

1.the problem is most likely with actionprojectile, since most other flags work.
2. I have no others this is tough
i only have the read rights for the mold class but look

Make sure that you set shootprams

EX:
this.maxangle = .05;
setshootparams gun,#g,#a,#v(this.damage),gun;
this.x = playerx+vecx(playerdir)*2;
this.y = playery-.3+vecy(playerdir)*2;
this.angle = getangle(vecx(playerdir),vecy(playerdir));
shoot this.x,this.y,playerz,this.angle+random(this.maxan gle*-1,this.maxangle),.75,this.power2,bullet,;


then in the class
if(actionprojectile){
if(strequals(#p(6),grenade)){
damage stuff our whatever else u want
}
}
Reply With Quote
Reply


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 11:03 AM.


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