Thread: Mold from EK
View Single Post
  #14  
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