Hello!
I realised when I have the character use an inventory item that results in the inventory item being removed, the label hotspot I have with floating text still says "Use (item) with (object)" when I no longer have the inventory item. I suppose I could tell AGS to relocate the cursor, but that would likely annoy the player.
Both of these codes do not fix the problem:
player.ActiveInventory = null;
mouse.Mode=eModeInteract;
I suppose it's not the mouse, but the label not refreshing. You have to move the cursor off the object and then the label behaves as it should. Is there a nice simple piece of code to tell it to refresh this? I'm not using the newest version of AGS, and I'm using a verb coin system.
I can't find any solutions for some reason, on the forum. Maybe I'm typing the wrong words. Help please!
I realised when I have the character use an inventory item that results in the inventory item being removed, the label hotspot I have with floating text still says "Use (item) with (object)" when I no longer have the inventory item. I suppose I could tell AGS to relocate the cursor, but that would likely annoy the player.
Both of these codes do not fix the problem:
player.ActiveInventory = null;
mouse.Mode=eModeInteract;
I suppose it's not the mouse, but the label not refreshing. You have to move the cursor off the object and then the label behaves as it should. Is there a nice simple piece of code to tell it to refresh this? I'm not using the newest version of AGS, and I'm using a verb coin system.
I can't find any solutions for some reason, on the forum. Maybe I'm typing the wrong words. Help please!