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
}
}