View Single Post
  #1  
Old 08-05-2002, 09:57 AM
Dustey4Ever Dustey4Ever is offline
Registered User
Join Date: Apr 2002
Posts: 348
Dustey4Ever is on a distinguished road
Send a message via AIM to Dustey4Ever
Help on a script

Why will this only work once and then stop working?
NPC Code:

if (created) {
setshape 1,32,32;
this.apos = {1.5,0, -0.5,1.5, 1.5,4, 3.5,1.5};
this.x = playerx;
this.y = playery;
this.dir = playerdir;
}
if (playertouchsme) {
toweapons weapon_Dagger;
}
if (weaponfired){
hitobjects 0.5,this.x+this.apos[this.dir*2],
this.y+this.apos[this.dir*2+1];
freezeplayer .4;
setani sword,wbow1.png;
}


thx
__________________
Dustey, Rob Getashu, Van?
Van- I use this acct because mine dun work.....
Rob- Same
Reply With Quote