I'm not 100% sure this qualifies as a 'beginner's question', but I'm still learning a lot, so I think it may count as one.
I've managed to get some things set up (ie: a working save/load system with the help of a good tutorial, and I've started working a little with global variables.)
Basically, my problem here is that I cannot for the life of me get the custom inventory GUI to work! As seen in the video below, items will go into the inventory GUI but the mouse mode will not change to reflect this (apologies for the clunkiness of everything, hahaha, it's a WIP)
I'm not sure if I missed something in the manual or a thread I read, but I've been stumped for a while about this.
I think it may have something to do with the mouse cursor code I use:
Code: ags
And then in rep ex:
Code: ags
I apologise if something along this vein has been asked before and I just missed it, or if it's in the manual. Any help would be appreciated, thanks!
I've managed to get some things set up (ie: a working save/load system with the help of a good tutorial, and I've started working a little with global variables.)
Basically, my problem here is that I cannot for the life of me get the custom inventory GUI to work! As seen in the video below, items will go into the inventory GUI but the mouse mode will not change to reflect this (apologies for the clunkiness of everything, hahaha, it's a WIP)
I'm not sure if I missed something in the manual or a thread I read, but I've been stumped for a while about this.
I think it may have something to do with the mouse cursor code I use:
void UpdateMouseGraphic() {
int newGraphic = 16;
int lt = GetLocationType(mouse.x, mouse.y);
if (lt == eLocationHotspot || lt == eLocationObject) newGraphic = 17;
else if (lt == eLocationCharacter) newGraphic = 169;
if (lt == eModeUseinv) newGraphic = 167;
if (newGraphic != mouse.GetModeGraphic(mouse.Mode)) mouse.ChangeModeGraphic(mouse.Mode, newGraphic);
And then in rep ex:
UpdateMouseGraphic();
I apologise if something along this vein has been asked before and I just missed it, or if it's in the manual. Any help would be appreciated, thanks!