Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screen yesno_prompt:
- on "show" action Play("sound", "sfx/alert.wav")
- modal True
- imagemap:
- ground 'gui/yesno_ground.png'
- idle 'gui/yesno_idle.png'
- hover 'gui/yesno_hover.png'
- hotspot (267, 369, 231, 72) action yes_action hover_sound "sfx/click.wav"
- hotspot (526, 369, 231, 72) action no_action hover_sound "sfx/click.wav"
- if message == layout.ARE_YOU_SURE:
- add "gui/yesno_are_you_sure.png"
- elif message == layout.DELETE_SAVE:
- add "gui/yesno_delete_save.png"
- elif message == layout.OVERWRITE_SAVE:
- add "gui/yesno_overwrite_save.png"
- elif message == layout.LOADING:
- add "gui/yesno_loading.png"
- elif message == layout.QUIT:
- add "gui/yesno_quit.png"
- elif message == layout.MAIN_MENU:
- add "gui/yesno_main_menu.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement