this is the code i used for its button:
Code: Select all
label _("Concept Sketches:")
vbox:
yalign 0.5
spacing 20
imagebutton idle "Co (2).png" hover "Co (3).png" action [ ShowMenu("concepts"), SensitiveIf(persistent.concept) ] insensitive "Co (1).png"
############################
screen concepts():
tag menu
use game_menu(_("Extras"), scroll="viewport"):
style_prefix "Extras"
vbox:
label _("{b}Concept Art{/b}")
image ("C (1).png")
image ("C (2).png") #####i added these images as quick samples so dont mind them
in the beginning of my script file i added these:
Code: Select all
default concept = False
Code: Select all
$ persistent.concept = True
For some reason the persistent data statement is not unlocking my button at all. I used the exact same code for my other buttons and they worked perfectly but apparently my concept art button is completely cursed and its not working at all
I have no idea why its acting this way, i even checked my spelling and indentation several times but there were no problems with them