I've replaced my default menu with a custom imagemap GUI, and worked all of the kinks out of it except this one that isn't really game-breaking, but it's annoying.
While I've used FilePageNext(max=18, wrap=False) to stop my save/load menu from scrolling into oblivion, I now seem to have an issue where my FilePagePrevious scrolls beyond page 1 and I end up with two pages of "negative" save files numbered q1-q8 and a1-a8. I've been all over the forums looking for a solution to fixing this, and I've not been able to find one.
This is the code for my load menu:
Code: Select all
screen load():
tag menu
add "gui/loadgame_ground.png"
imagemap:
ground "gui/loadgame_idle.png"
idle "gui/loadgame_idle.png"
hover "gui/loadgame_hover.png"
selected_idle "gui/loadgame_hover.png"
selected_hover "gui/loadgame_hover.png"
alpha False
cache False
hotspot (22,546,44,15) clicked FilePagePrevious(max=18, wrap=True)
hotspot (76,546,19,20) clicked FilePage(1)
hotspot (100,546,19,20) clicked FilePage(2)
hotspot (125,546,19,20) clicked FilePage(3)
hotspot (151,546,19,20) clicked FilePage(4)
hotspot (177,546,19,20) clicked FilePage(5)
hotspot (202,546,19,20) clicked FilePage(6)
hotspot (226,546,19,20) clicked FilePage(7)
hotspot (251,546,19,20) clicked FilePage(8)
hotspot (277,546,19,20) clicked FilePage(9)
hotspot (303,546,19,20) clicked FilePage(10)
hotspot (330,546,19,20) clicked FilePage(11)
hotspot (354,546,19,20) clicked FilePage(12)
hotspot (379,546,19,20) clicked FilePage(13)
hotspot (405,546,19,20) clicked FilePage(14)
hotspot (431,546,19,20) clicked FilePage(15)
hotspot (456,546,19,20) clicked FilePage(16)
hotspot (480,546,19,20) clicked FilePage(17)
hotspot (505,546,19,20) clicked FilePage(18)
hotspot (534,546,44,15) clicked FilePageNext(max=18, wrap=True)
hotspot (23,127,363,87) clicked FileLoad(1):
use load_save_slot(number=1)
key "save_delete" action FileDelete(1)
hotspot (405,127,363,87) clicked FileLoad(2):
use load_save_slot(number=2)
key "save_delete" action FileDelete(2)
hotspot (23,228,363,87) clicked FileLoad(3):
use load_save_slot(number=3)
key "save_delete" action FileDelete(3)
hotspot (405,228,363,87) clicked FileLoad(4):
use load_save_slot(number=4)
key "save_delete" action FileDelete(4)
hotspot (23,328,363,87) clicked FileLoad(5):
use load_save_slot(number=5)
key "save_delete" action FileDelete(5)
hotspot (405,327,363,87) clicked FileLoad(6):
use load_save_slot(number=6)
key "save_delete" action FileDelete(6)
hotspot (23,428,363,87) clicked FileLoad(7):
use load_save_slot(number=7)
key "save_delete" action FileDelete(7)
hotspot (405,427,363,87) clicked FileLoad(8):
use load_save_slot(number=8)
key "save_delete" action FileDelete(8)
hotspot (117, 43, 84, 23) action ShowMenu("save")
hotspot (209, 43, 84, 23) action MainMenu()
hotspot (23, 43, 84, 23) action Return()