How do I show different buttons on navigate screen on different menus?
Posted: Sat Jul 21, 2018 3:56 pm
I'm trying to show different buttons on different menu screens,but I can't make the codes work, please show me a way to fix it or replace it.
this is one of the menu screens
this is the navigation screen I was planning to make it show different buttons based on the menu screens.
Code: Select all
screen evidence():
tag menu
predict False
use game_menu(_("Evidence"), scroll="viewport"):
style_prefix "evidence"
use navigationCode: Select all
screen navigation():
if evidence:
image"evidence_main.png"
else:
imagebutton:# evidence
idle "gui/setting/evidence.png"
hover "gui/setting/evidence_hover.png"
xpos 869 ypos 17
action ShowMenu("evidence")