Mirage Source
>.< Made PicInv visible - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: >.< Made PicInv visible (/showthread.php?tid=1399)



>.< Made PicInv visible - jsventor - 17-11-2007

And Now I get an error on
Code:
GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num

RTE 9 Subscript out of range

All I did was make the PicInv and PicPlayerSpells Visible, and deleted the Spells and Inventory button on the frm Mirage, I added Inventory updated on the sub FormLoad

Thx.


Re: >.< Made PicInv visible - Robin - 17-11-2007

Remove the update inventory on form load.


Re: >.< Made PicInv visible - jsventor - 17-11-2007

OH
Ok, lol
Good, thx, I figured it was needed because the PicBox updates it when you click it, and if its not being updated form that anymore i would have to do it on the load, But i was wrong, thx robin.