I learn really well if i am shown an example and then adapt it and pull it apart. Can anyone please change this code to make it so you can scroll down the frame? I'll be able to get it from that. Thankyou
Code: Select all
screen gun_choice_screen:
textbutton "Back" xalign 0.5 yalign 0.8 action Jump("attack_menu")
frame area 0.01,0.8,350,200:
has vbox
if rusty_pistol == True:
textbutton "Rusty pistol: [pistol_ammunition]" action Jump("weapon_rusty_pistol")
if pistol == True:
textbutton "Pistol: [pistol_ammunition]" action Jump("weapon_pistol")
if sawn_off_shotgun == True:
textbutton "Sawn off shotgun: [shotgun_ammunition]" action Jump("weapon_sawn_off_shotgun")
if double_barrel_shotgun == True:
textbutton "Double barrel shotgun: [shotgun_ammunition]" action Jump("weapon_double_barrel_shotgun")