
04-04-2001, 11:08 AM
|
Banned
|
 |
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
|
|
here ya go, Warren is really a great npc maker. Although he decided to quit graal, im learning all of his scripts so that i can "follow in his foot steps" lol, well.. im starting to be pretty good with special effects ;-D
//NPC made by Warren
if (playertouchsme) toweapons HP meter toggle;
if (weaponfired) {
if (meter) {
hideimg -3;
hideimg -4;
unset meter;
}
else {
set meter;
timeout=0.05;
}
}
if (playerenters&&meter&&isweapon) timeout=0.05;
if (timeout&&meter) {
this.xloc=screenwidth-112;
this.mlength=(playerhearts/playerfullhearts)*68+1;
showimg -4,insidebar.gif,10+this.xloc,129;
changeimgpart -4,0,0,this.mlength,22;
showimg -3,outsidebar.gif,this.xloc,100;
changeimgvis -4,4;
changeimgvis -3,4;
timeout=0.05;
} |
|
|