Page 1 of 1

Display problems

Posted: Thu Aug 27, 2020 5:53 pm
by zhoope
good night everyone a have a small problem with overlays and screens i already lost some hours searching on documentation but no lucky :roll:
i have something like this:
screen anything:
imagebutton:
action NullAction()
idle "drop_ores_button"
hover "drop_ores_l"
hovered SetVariable("ore_x",True)
unhovered SetVariable("ore_x",False)
xalign 0.3742
yalign 0.0065


showif ore_x == True:
frame:
xpos 3 ypos 2
background "drop_ores"

text "[cooper_ore]":
xpos 495
ypos 0.097

text "[iron_ore]":
xpos 495
ypos 0.17

text "[silver_ore]":
xpos 495
ypos 0.24

text "[gold_ore]":
xpos 495
ypos 0.31

text "[diamond_ore]":
xpos 495
ypos 0.38

text "[mystical_ore]":
xpos 495
ypos 0.45

[issue]in the same screen i have a lot of textbuttons"used as placeholders for now" my doubt is how i put the showif with the frame over the text buttons[/issue]