Tried everything. Through the process of elimination I figured why it wasn't working.
It was the parentheses in --> screen HPbartest():
Now the code looks like this
Code: Select all
screen HPbartest:
bar:
range PartySlot_1_maxHP
value PartySlot_1_current
yalign 0.01
xpos 90
xmaximum 348
ymaximum 20
left_bar Frame("gui/Bar_HP.png", 348, 20)
right_bar Frame("gui/Bar.png", 348, 20)
#left_gutter 0
#right_gutter 0
thumb None
thumb_shadow None
label _("HP [PartySlot_1_current]/[PartySlot_1_maxHP]") xpos 90 ypos 17
imagebutton auto "gui/Button_return_%s.png" xpos 25 ypos 530 focus_mask True action Return()
For some reason it didn't let the bar update. Not sure why that was happening, but then again, I don't know what the parentheses are supposed to used for.
Thank you for helping me out. With any luck, I should be announcing a game in the next two months
btw, I don't suppose you know how to flip the health bars to make them decrease from left to right instead of right to left?