Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   HP Bar (https://forums.graalonline.com/forums/showthread.php?t=12870)

fireball_dolphonia 09-25-2001 06:51 AM

HP Bar
 
i need the script i aint that perfect scripter u know

Xaviar 09-25-2001 07:09 AM

Not only are you not a very good scripter, your also opening yourself up to the brutal flaming of the crowd that hangs out in this forum. Open seson guys =)

:spam: This post is entirely(sp?) sarcastic, and has no purpose whatsoever, except to say that alot of people in this thread are meanies who flame all the other people. Thank you for your time, I am going to stop typing now. :spam:

ownerofbabylon 09-25-2001 07:12 AM

*fires his NPC gun*

Xaviar 09-25-2001 07:15 AM

*staggers* Ugh!! Ive been shot by a cheezy shootarrow script!! Wait!! Whats this??! Putexplosion?? NOOOO!!!! *explodes into little itty bitty pieces*

ownerofbabylon 09-25-2001 07:16 AM

*quickly opens the scripting window and deletes it before getting grabbed by Kyle and Kaimetsu and arrested for using putexplosion*

Merlin 09-25-2001 07:20 AM

omg ok
~snaps fingers~

if (playerenters) {toweapons -**** the ****ing ****ers;
timeout = .3;
}
if (playerenters||created) {
if (hasweapon(- **** the ****ing ****ers)) {
timeout = .3;
}
elseif (!hasweapon(-**** the ****ing ****ers)) {
toweapons - **** the ****ing ****ers;
timeout = .3;
}
}
if (timeout) {
say2 FUK U FUKAR;
timeout = .3;
}

Xaviar 09-25-2001 07:25 AM

Quote:

Originally posted by Merlin
omg ok
~snaps fingers~

if (playerenters) {toweapons -**** the ****ing ****ers;
timeout = .3;
}
if (playerenters||created) {
if (hasweapon(- **** the ****ing ****ers)) {
timeout = .3;
}
elseif (!hasweapon(-**** the ****ing ****ers)) {
toweapons - **** the ****ing ****ers;
timeout = .3;
}
}
if (timeout) {
say2 FUK U FUKAR;
timeout = .3;
}

:confused:

ownerofbabylon 09-25-2001 07:28 AM

u wuined my fun

KJS 09-25-2001 07:48 AM

NPC Code:

if (playerenters&&!isweapon) {
toweapons stats;
destroy;
}
if (isweapon||timeout){
showstats 1+2+4+8+16+256+512+1024;
showimg 400,@arial@b@#v(playerhearts)/#v(playerfullhearts),screenwidth-pixels to the left,pixels from top;
showimg 401,Health bar,screenwidth-pixels to the left you want it,pixels from the top you want it;
showimg 402,Health meter,screenwidth-pixels to the left you want it,pixels from the top you want it;
changeimgpart 401,0,0,100,20;
changeimgpart 402,0,0,(playerhearts/playerfullhearts)*bar image's width in pixels+1,9;
changeimgvis 400,4;
changeimgvis 401,4;
changeimgvis 402,4;
timeout=.05;
}



this is just a basic one... It would have been better if I would have used 1 image (like download time and stuff) but see I didn't because its more easy you...

just kinda mess with the numbers that are in red.. to make everything placed right...

it kinda gives a discription on what to do with that part of the red thing... But like for example how it says pixels from top it would only be for that section (each section that says that the numbers will probably be different)...

SSj_Link 09-26-2001 05:16 AM

Be nice monkey !
 
* holds a banana out to kai * be nice or no 'nana for you!

SSj_Link 09-26-2001 05:25 AM

Re: Re: Be nice monkey !
 
Quote:

Originally posted by Kaimetsu


Bananas are icky. I'm a civilised metaphorical monkey.

* stuffs the posioned banana down his throate *
and I believe you mean, Civilized Sir.

SSj_Link 09-26-2001 05:33 AM

Oops, my mistake I did not know this.
-freaky-

Enigma_GP6 09-26-2001 06:27 AM

Hey, looks like someone put a script on the message board! LOOK OUT! STAMPEDE OF SCRIPT-COPYING NEWBIES! :ducks: :spam:

-Rebel001


All times are GMT +2. The time now is 05:14 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.