
08-14-2001, 11:34 PM
|
|
|
Quote:
Originally posted by Poogle
Heres the REAL and FULL script and no body say it aint it has been tested online!
NPC Code:
timereverywhere;
timeout=.05;
if (playerenters) {
toweapons -Status Bar;
}
if (timeout) {
if (isweapon) {
showstats 1+2+4+8+16+256+512+1024;
this.pos = {screenwidth-180,30};
this.hpdisplay = ((playerhearts/playerfullhearts)*100);
this.mpdisplay = ((playermp/100)*100);
this.apdisplay = ((playerap/100)*100);
if (good) {
showimg 1,lilogobar.gif,this.pos[0],this.pos[1];
}
else if (evil) {
showimg 1,lilogobar.gif,this.pos[0],this.pos[1];
}
else {
showimg 1,lilogobar.gif,this.pos[0],this.pos[1];
}
changeimgvis 1, 4;
if (this.hpdisplay>0) {
showimg 3,liapbar.gif,this.pos[0]+15,this.pos[1]+33;
changeimgpart 3,0,0,this.hpdisplay,6;
changeimgvis 3,4;
}
else {
hideimg 3;
}
if (this.apdisplay>0) {
showimg 4,limpbar.gif,this.pos[0]+15,this.pos[1]+50;
changeimgpart 4,0,0,this.apdisplay,6;
changeimgvis 4,4;
}
else {
hideimg 4;
}
if (this.mpdisplay>0) {
showimg 5,mpbarname.gif,this.pos[0]+17,this.pos[1]+66;
changeimgpart 5,0,0,this.mpdisplay,6;
changeimgvis 5,4;
}
else {
hideimg 5;
}
}
}
if (playerdies) {playerap=playerap;playermp=playermp;}
|
you're so cheap nick, that script was posted by icepick some time ago...
the only thing you changed are the .gif
use your own scripting skills! |
|
|
|