- Mar 29, 2019
- 40
- 88
So guys here's what I want to do,
I already created a simple image button menu and add a call screen command for returning to the image button menu once you completed an event, now what I wanna achieve is to edit my image button menu in a way you cannot repeat the same event again. I'm okay with adding a small dialog after you played an event like:- You already visited there or something similar, but once again I don't know how to do that as well.
Here's the code that i tailored so far.
*After the call screen command I return to the image button menu and then if i click the bathroom button again, same event repeats itself. How can i avoid this?
*I understand this entire code of mine is not written properly and may need lots of adjustment, but I prefer if you try to help me while keeping the original if that's possible<with minimum changes>.
Any help will be greatly appreciated.
I already created a simple image button menu and add a call screen command for returning to the image button menu once you completed an event, now what I wanna achieve is to edit my image button menu in a way you cannot repeat the same event again. I'm okay with adding a small dialog after you played an event like:- You already visited there or something similar, but once again I don't know how to do that as well.
Here's the code that i tailored so far.
Code:
screen imagemap_example():
imagemap:
idle "imagemap ground"
hover "imagemap hover"
hotspot (400, 249, 401, 252) action Jump("bathroom") alt "bathroom"
hotspot (0, 1250, 401, 250) action Jump("livingroom") alt "livingroom"
hotspot (0, 1750, 400, 252) action Jump("myroom") alt "myroom"
hotspot (0, 0, 400, 250) action Jump("backyard") alt "backyard"
label imagemap_example:
# Call the imagemap_example screen.
call screen imagemap_example
label bathroom:
scene goodmo1f
with fade
p "....."
scene jul1b
with fade
"You meet Julia with a lazy face on her way to the bathroom."
"....."
scene jul1c
with fade
p "Hey there Julia, good morning."
scene jul1d
with fade
s "<Multiple big yawns...>Haaeyy Go..Good morning Ned."
scene bg id black
with fade
"Without saying anything more to you Julia hastily walk to the bathroom with her slow pace."
scene jul1eee
with fade
p "Such a rush! Well I guess she didn't get the chance to empty her bladder yet."
menu:
"Give a quick peek on Julia in the bathroom.":
jump julpeek1a
"Walk away.":
jump walkaw1a
label walkaw1a:
p "(I don't assume that's a good idea. Let's just go someplace else.)"
call screen imagemap_example
*After the call screen command I return to the image button menu and then if i click the bathroom button again, same event repeats itself. How can i avoid this?
*I understand this entire code of mine is not written properly and may need lots of adjustment, but I prefer if you try to help me while keeping the original if that's possible<with minimum changes>.
Any help will be greatly appreciated.
Last edited: