Code: Select all
screen sidebuttons():
imagemap:
idle "images/favorscreens/favorbuttons idle.png"
hover "images/favorscreens/favorbuttons hover.png"
hotspot (1827, 555, 121, 128) action [Hide(""), Show("char2_favor_screen")]
hotspot (1828, 686, 116, 129) action [Hide(""), Show("char3_favor_screen")]
screen char2_favor_screen:
add "images/favorscreens/char2favorscreen base.png" align (.5,.5)
modal True
imagemap:
idle "images/favorscreens/char2favorscreen char1 idle.png"
hover "images/favorscreens/char2favorscreen char1 hover.png"
hotspot (18, 3, 390, 480) action [Hide("char2favorscreen base.png"), Show("char1_char2_favor")]
screen char1_char2_favor:
add "images/scenea3.png"
imagemap:
idle "images/favorscreens/char1favorbutton idle.png"
hover "images/favorscreens/char1favorbutton hover.png"
hotspot (1746, 608, 175, 186) action [Hide("char1_char2_favor"), Hide("char2_favor_screen")]
screen char3_favor_screen:
add "images/scenea4.png"
modal True
imagemap:
idle "images/favorscreens/char1favorbutton idle.png"
hover "images/favorscreens/char1favorbutton hover.png"
hotspot (1746, 608, 175, 186) action [Hide("char3_favor_screen")]
I would like to use variables that track each characters favor but I've seen like 3 different ways to write that and I don't know which to use nor how to implement them into this context.
Please let me know the most efficient way to do this if anyone knows and cares enough to explain.
Thanks in advance.