Hi all,
I have a problem with caption window.
My captions are shown at the top of the screen and they have a background image.
They appear each time the mouse is over an interactive object (default behavior).
The problem is this.
When the mouse is over the inventory, the caption window is always visible.
I mean that if there is an item, I see the item's name and the background image (normal),
but if there is no item (empty slot), I see only the background image (not very nice).
I would like the caption window to be hidden (no text no image) if the mouse is over an empty slot in the inventory.
How can I do this?
BTW, I had the same problem with buttons in some other windows,
but I solved that by checking if the active object is a "button" and then hide the caption.
I tried to do the same with inventory, but I don't know how to check if a slot is empty or not.
Best regards,
Spyros