I have a mission menu in game. When you click on them it show you progress of the mission or mission complete / failed status based on progress you made....
How can I change the color of the mission when it is completed? for example it turn grey or something. This is example of "one" mission:
Code: Select all
menu mission:
"Deandrea mission":
menu:
"Mission 1 - Last smart deathclaw":
if deadstat == 0:
if day <=20:
o "Talk with Deandrea and find a clue in Slave City."
jump mainmenu
else:
o "You failed to complete this mission."
jump mainmenu
else:
show aihappy:
xalign 1.0 yalign 1.0
o "You complete this mission."
jump mainmenu
jump mainmenu
"Mission 2 - Save my life":
if deadstat == 0:
if day <= 20:
o "Complete 1st mission."
jump mainmenu
else:
o "You failed in 1st mission. Mission 2 is locked."
jump mainmenu
elif deadstat == 1:
if day <= 40:
o "Talk with Deandrea, find hunter in slave city and take care off him."
jump mainmenu
else:
o "You didn't take care off the hunter."
o "Lame."
jump mainmenu
else:
show aihappy:
xalign 1.0 yalign 1.0
o "You complete this mission."
jump mainmenu
"Mission 3 - Meet my love":
if deadstat <= 1:
if day <= 40:
o "Complete previous missions."
jump mainmenu
else:
o "You failed in previous missions."
jump mainmenu
elif deadstat == 2:
if day <= 60:
o "Talk with Deandrea and find smart deathclaw near sisterhood."
jump mainmenu
else:
o "Deandrea never meet another smart deathclaw."
jump mainmenu
else:
show aihappy:
xalign 1.0 yalign 1.0
o "You complete this mission."
jump mainmenu
jump mainmenu
"Mission 4 Explore the vault":
if dwault == 0:
o "Wait until Deandrea ask for visit."
jump mainmenu
else:
o "Mission over."
jump mainmenu
jump mainmenu
"Something else":
jump mission