Heck, I know some scripting but when I look at this script, I explode with nonsensicatility (?)
;Header
desc = Health Bar and Armor Bar
;Triggers
:state=0:hudreset,hudx=50,hudy=10,hudimagefine=languagebank/english/gamecore/hud/healthbar.dds,hudname=HealthHUD,hudhide=0,hudmake=display,state=0
:state=0:hudreset,hudx=50,hudy=15,hudimagefine=languagebank/english/gamecore/hud/armorbar.dds,hudname=ArmorHUD,hudhide=0,hudmake=display,state=0
;By loading in the HUDs above in that sequenc, the Health Bar will be below the Armor Bar and the Armor Bar below the outline HUD
:state=0:dimvar=Armor,setvar=Armor 500,dimvar=CalcVar,dimvar=CO,state=1
; Scale the Bars to have them shrink at lower levels
; Use $PH to grab the player's current Health
; Find out how much to scale by using (Current/Max)
:state=1:setvar=CalcVar $PH,divvar=CalcVar 5,scalehudx=HealthHUD %CalcVar
:state=1:setvar=CalcVar Armor,divvar=CalcVar 5,scalehudx=ArmorHUD %CalcVar
; Have the Armor take damage instead of the player's health
:state=1:setvar=CalcVar %CO,subvar=CalcVar $PH,setvar=CO %CalcVar
:state=1,vargreater=CO 0,vargreater=Armor 0:setvar=CalcVar 500,subvar=CalcVar $PH,plraddhealth=%CalcVar,subvar=Armor %CalcVar
:state=1,varless=Armor 0:setvar=Armor 0
:state=1:setvar=CO $PH
Now, this is a hud that I desperately want to work, unfortunately it doesnt. Plystire told me for it to work to simply take out the Armor aspects of the script.
Since the script is loaded with statements I dont understand, im sure I could remove what I think is the Armor part and still have a non-working script in my explorer, idly waiting for me to make the next disastrous move. So I call upon the community, whose combined intellect would easily be able to share the knowledge of the meaning of life (Yes I know its 42)
Help?
Making the challenge? More like kicking teh nass!
Seen Endangered City yet? It wont last long!