If you don't buy the cellphone, nothing will show up.
If you buy it, it would show somewhere in your screen. And since it's usable, it would probably be an imagebutton.
Like:
The problem is, what would the best way to do it?
I mean, there's a screen that is always showing in the game. That shows your points, etc.
I was thinking about adding the cellphone imagebutton to that screen.
I'm just confused on how to do it.
Like:
if cellphone = imagebutton phone
For example, let's just say it's the normal screen, without the phone:
Code: Select all
screen showingoptions:
text "{size=30}[points]{/size}" xpos 18 ypos 80
imagebutton auto "icons/seta_%s.png" pos(1200,230) action Jump("mainmp")
imagebutton auto "icons/seta_%s.png" pos(1200,280) action Jump("store")
imagebutton auto "icons/seta_%s.png" pos(1200,330) action Jump("chapters")
imagebutton auto "icons/seta_%s.png" pos(1200,380) action Jump("seefriends")
Code: Select all
imagebutton auto "icons/phone_%s.png" pos(1200,330) action Jump("cellphone")
Code: Select all
label park2:
scene parkatnight
show showingoptions
Code: Select all
menu buyphone:
"Buy cellphone.":
?
"Don't buy cellphone":
?
Code: Select all
screen showingoptions:
text "{size=30}[points]{/size}" xpos 18 ypos 80
imagebutton auto "icons/seta_%s.png" pos(1200,230) action Jump("mainmp")
imagebutton auto "icons/seta_%s.png" pos(1200,280) action Jump("store")
imagebutton auto "icons/seta_%s.png" pos(1200,330) action Jump("chapters")
imagebutton auto "icons/seta_%s.png" pos(1200,380) action Jump("seefriends")
imagebutton auto "icons/phone_%s.png" pos(1200,330) action Jump("cellphone") ##### added imagebutton
The cellphone unlocks extra missions. You can play the whole game without it. It's optional.
Does anyone know how I could make this?
Thank you.