I understand how the inventory buttons work, except that I can't see how ints 'button' and 'interface' are set.Ã, I'm not sure why two buttons should be added though- what would they do?Ã, The default inventory hasn't got two extra buttons as far as I know.Ã, I put the above two lines of script into game_start and the game will run, but no difference.Ã, I don't understand what causes the problem.
In case it helps, I had deleted the two scroll buttons, however they are the last two objects in the inventory GUI and I've 'commented' out that part of the script anyway.Ã, I'm pretty sure that wouldn't make a difference as the script is only run when the buttons are pressed. The inventory only holds three items (the player can never end up with more than three items anyway). Each item image is 64x64 as well.
Looking back at another GUI I made I noticed that the same problem was there, and that one had plenty of room, only the graphics were modified I think. Is there an important thing that is missing between a custom inventory and a default inventory (some sort of clickable area)?
In case it helps, I had deleted the two scroll buttons, however they are the last two objects in the inventory GUI and I've 'commented' out that part of the script anyway.Ã, I'm pretty sure that wouldn't make a difference as the script is only run when the buttons are pressed. The inventory only holds three items (the player can never end up with more than three items anyway). Each item image is 64x64 as well.
Looking back at another GUI I made I noticed that the same problem was there, and that one had plenty of room, only the graphics were modified I think. Is there an important thing that is missing between a custom inventory and a default inventory (some sort of clickable area)?