Thread: putnpc
View Single Post
  #16  
Old 07-10-2001, 11:06 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Wink

No Actually this is my best script....

if (playerenters) show;
if (playertouchsme) {
toweapons Wood Bomb;
hide;
}
if (weaponfired && playerbombs>0) {
timeout=3;
if (playerdir=0) {
putnpc woodbomb.gif,woodbomb.txt,playerx+0.5,playery-1;
};
if (playerdir=1) {
putnpc woodbomb.gif,woodbomb.txt,playerx-1.5,playery+1;
};
if (playerdir=2) {
putnpc woodbomb.gif,woodbomb.txt,playerx+0.5,playery+2.5;
};
if (playerdir=3) {
putnpc woodbomb.gif,woodbomb.txt,playerx+2.5,playery+1;
};
playerbombs--;
}
if (timeout) {
for (i=0; i<playerscount; i++) {
if ((x-players[i].x)<=6 &&
(y-players[i].y)<=6 &&
(x-players[i].x)>=-6 &&
(y-players[i].y)>=-6) {
hitplayer i,1,x,y};
};
}


heres the text file for it....
Attached Files
File Type: txt woodbomb.txt (1.2 KB, 31 views)
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!