code not working
Posted: Sun Jul 29, 2018 6:19 pm
hi there so here is my code what am i doing wrong?
screen statsscreen1victor:
frame:
xalign 0.01 yalign 0.05
xminimum 220 xmaximum 220
vbox:
text "Saffire" size 22 xalign 0.5
null height 5
hbox:
bar:
xmaximum 130
value red_hood_hp
range red_hood_max_hp
left_gutter 0
right_gutter 0
thumb None
thumb_shadow None
null width 5
text "[red_hood_hp] / [red_hood_max_hp]" size 16
frame:
xalign 0.99 yalign 0.05
xminimum 220 xmaximum 220
vbox:
text "Victor" size 22 xalign 0.5
null height 5
hbox:
bar:
xmaximum 130
value wolf_hp
range wolf_max_hp
left_gutter 0
right_gutter 0
thumb None
thumb_shadow None
null width 5
text "[wolf_hp] / [wolf_max_hp]" size 16
text "Victor suddenly attacks"
return
this screen wont show up on command what did i do wrong? i got the original code from someone on here and it worked fine so whats wrong?
screen statsscreen1victor:
frame:
xalign 0.01 yalign 0.05
xminimum 220 xmaximum 220
vbox:
text "Saffire" size 22 xalign 0.5
null height 5
hbox:
bar:
xmaximum 130
value red_hood_hp
range red_hood_max_hp
left_gutter 0
right_gutter 0
thumb None
thumb_shadow None
null width 5
text "[red_hood_hp] / [red_hood_max_hp]" size 16
frame:
xalign 0.99 yalign 0.05
xminimum 220 xmaximum 220
vbox:
text "Victor" size 22 xalign 0.5
null height 5
hbox:
bar:
xmaximum 130
value wolf_hp
range wolf_max_hp
left_gutter 0
right_gutter 0
thumb None
thumb_shadow None
null width 5
text "[wolf_hp] / [wolf_max_hp]" size 16
text "Victor suddenly attacks"
return
this screen wont show up on command what did i do wrong? i got the original code from someone on here and it worked fine so whats wrong?