Code: Select all
ui.vbox(spacing=0, xalign=.5,yalign=.45, xmaximum=392, ymaximum=177)
ui.imagebutton("imagebu/bthomas1.png", "imagebu/bthomas2.png", clicked=ui.returns(1))
ui.imagebutton("imagebu/dithomas1.png", "imagebu/dithomas2.png", clicked= ui.returns(2))
ui.close()
result= ui.interact()
if result==1:
persistent.gore= True
if result==2:
persistent.gore= False
return
Once I click on a option, I want the buttons to stay on its activated state(Like the preference screen), so that players can see what they chose in case they forgot. I don't want return to the game screen once I click on an option. I want to stay on the current screen, with the buttons activated.
I added selected_activate_image and insensitive_image and other image related in the imagebutton properties it does not work.
Also tried jump with a new label; pretty much the same. Would be great if I get this out of my mind.. I still have tons of CG to do.(still have save/load screen problem, hope I get an answer while working on other things )