Thanks, but i dont get what you meant. do you mean delete the states all together or change it to 1 and change 1 to 2 and so on?
Could you plz post the code?
Thanks.
Also, as you said, you respect ply. So do I, and so do most people here, but also, people respect you, and I am no exception. You help everyone and you ask for nothing in return. Good on you mate.
If you need my help for anything at all, just let me know.
EDIT
Sorry i posted this twice, i didnt realise earlier that they had moved onto the next page, and so I posted again, thinking it may have just been a small problem with the server.
Anyway, now i have a similar script, but it is meant to display more huds. the only problem is though, at first, it doesnt display, and then when it does (very very rarely), as the health lowers, the hud stays at the lowest point. Basically, lets say the health reaches 10. once I die, it continues to display 10, even if i am on 100 ect. Can you see anything wrong with this script?
;Original script by Reyvyn
;Refined and changed for use to display health by Michael Thompson of Flash Star Games
;Please note that my script works on the player having 100 health, not 500.
;Header
desc = Health Hud
;Triggers
;Displays different health hud as Health reaches levels of 100, 95, 90, 85, 80, 75, 70, 65, 60, 55, 50, 45, 40, 35, 30, 25, 20, 15, 10, 5 and 0 as character takes more and more damage.
;Following creates HUDs and hides until needed.
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud1.png,hudname=hHud1,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud2.png,hudname=hHud2,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud3.png,hudname=hHud3,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud4.png,hudname=hHud4,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud5.png,hudname=hHud5,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud6.png,hudname=hHud6,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud7.png,hudname=hHud7,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud8.png,hudname=hHud8,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud9.png,hudname=hHud9,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud10.png,hudname=hHud10,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud11.png,hudname=hHud1,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud12.png,hudname=hHud2,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud13.png,hudname=hHud3,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud14.png,hudname=hHud4,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud15.png,hudname=hHud5,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud16.png,hudname=hHud6,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud17.png,hudname=hHud7,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud18.png,hudname=hHud8,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud19.png,hudname=hHud9,hudhide=1,hudmake=display,state=0
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hHud20.png,hudname=hHud10,hudhide=1,hudmake=display,state=1
;The next segments will bring up the huds if the player's health reaches the appropriate level and make them dissapear when no longer needed.
:state=1,plrhealthless=101:hudshow=hHud20,state=2
:state=2,plrhealthgreater=100:hudunshow=hHud20,state=1
:state=2,plrhealthless=96:hudunshow=hHud20,state=2
:state=2,plrhealthless=96:hudshow=hHud19,state=3
:state=3,plrhealthgreater=95:hudunshow=hHud19,state=1
:state=3,plrhealthless=91:hudunshow=hHud19,state=4
:state=4,plrhealthless=91:hudshow=hHud18,state=5
:state=5,plrhealthgreater=90:hudunshow=hHud18,state=2
:state=5,plrhealthless=86:hudunshow=hHud18,state=6
:state=6,plrhealthless=86:hudshow=hHud17,state=7
:state=7,plrhealthgreater=85:hudunshow=hHud17,state=4
:state=7,plrhealthless=81:hudunshow=hHud17,state=8
:state=8,plrhealthless=81:hudshow=hhud16,state=9
:state=9,plrhealthgreater=80:hudunshow=hhud16,state=5
:state=9,plrhealthless=76:hudunshow=hhud16,state=10
:state=10,plrhealthless=76:hudshow=hhud15,state=11
:state=11,plrhealthgreater=70:hudunshow=hhud15,state=6
:state=11,plrhealthless=66:hudunshow=hhud15,state=12
:state=12,plrhealthless=66:hudshow=hhud14,state=13
:state=13,plrhealthgreater=65:hudunshow=hhud14,state=7
:state=13,plrhealthless=61:hudunshow=hhud14,state=14
:state=14,plrhealthless=61:hudshow=hhud13,state=15
:state=15,plrhealthgreater=60:hudunshow=hhud13,state=8
:state=15,plrhealthless=56:hudunshow=hhud13,state=16
:state=16,plrhealthless=56:hudshow=hhud12,state=17
:state=17,plrhealthgreater=55:hudunshow=hhud12,state=9
:state=17,plrhealthless=51:hudunshow=hhud12,state=18
:state=18,plrhealthless=51:hudshow=hhud11,state=19
:state=19,plrhealthgreater=50:hudunshow=hhud11,state=10
:state=19,plrhealthless=46:hudunshow=hhud11,state=20
:state=20,plrhealthless=46:hudunshow=hhud10,state=21
:state=21,plrhealthgreater=45:hudunshow=hhud10,state=11
:state=21,plrhealthless=41:hudunshow=hhud10,state=22
:state=22,plrhealthless=41:hudunshow=hhud9,state=23
:state=23,plrhealthgreater=40:hudunshow=hhud9,state=12
:state=23,plrhealthless=36:hudunshow=hhud9,state=24
:state=24,plrhealthless=36:hudunshow=hhud8,state=25
:state=25,plrhealthgreater=35:hudunshow=hhud8,state=13
:state=25,plrhealthless=31:hudunshow=hhud8,state=26
:state=26,plrhealthless=31:hudshow=hhud7,state=27
:state=27,plrhealthgreater=30:hudunshow=hhud7,state=14
:state=27,plrhealthless=26:hudunshow=hhud7,state=28
:state=28,plrhealthless=26:hudshow=hhud6,state=29
:state=29,plrhealthgreater=25:hudunshow=hhud6,state=15
:state=29,plrhealthless=21:hudunshow=hhud6,state=30
:state=30,plrhealthless=21:hudshow=hhud5,state=31
:state=31,plrhealthgreater=20:hudunshow=hhud5,state=16
:state=31,plrhealthless=16:hudunshow=hhud5,state=32
:state=32,plrhealthless=16:hudshow=hhud4,state=31
:state=33,plrhealthgreater=15:hudunshow=hhud4,state=17
:state=33,plrhealthless=11:hudunshow=hhud4,state=34
:state=34,plrhealthless=11:hudshow=hhud3,state=31
:state=35,plrhealthgreater=10:hudunshow=hhud3,state=18
:state=35,plrhealthless=6:hudunshow=hhud3,state=36
:state=36,plrhealthless=6:hudshow=hhud2,state=37
:state=37,plrhealthgreater=5:hudunshow=hhud2,state=19
:state=37,plrhealthless=1:hudunshow=hhud2,state=38
:state=38,plrhealthless=1:hudshow=hhud1,state=39
:state=39,plrhealthgreater=0:hudunshow=hHud1,state=21
Thanks again, and cya later m8.
Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations