Using Inventory Item on Anything Else

Started by Lior, Mon 15/01/2024 21:12:34

Previous topic - Next topic

Lior

Hi,
I've set my invetory to always show on screen.
In my defalut inventory, i see that i can click on inventory item, lets say a key, the cursor will become the key picture and i can use the key.
If i want to change the cursor back to interact mode, i have a botton for that in gInventory GUI.

Is there an option, that if i'm using the inventory item on anything else than what i wanted it to do, the cursor will be back to interact mode?

i.e. if i use the key on the door, the door opens, and i can code the cursor back to interact mode.
I want that if i use the key on anything else like: other object/charcter/hotspot/background, the cursor will be back to interact mode automaticaly.

Khris

I don't think this is a good solution from an UX perspective. Games usually give a more or less generic reply instead, like "That doesn't work." Also, if you're stuck and just want to try clicking various items on interactive areas it's really annoying if you have to keep having to select an item over and over again.
It sounds like your UI is similar to the BASS one, why not use a right-click to deselect an inventory item? That's also much easier to implement.

Lior

Hi Khris,
Right click to deselect an item sounds like a good idea, but i'm using SIERRA not BASS.
Can i do something like that in SIERRA?

Khris

I see, but the default Sierra UI uses a right-click to switch to the next cursor mode, which seems also fine.

The question really is: what is the goal here?
Is it to allow the user to switch back to interact mode without having to move the cursor to a button (or right-click three times)?
You could implement a hotkey, since the other hand typically doesn't really do anything in a mouse-driven interface anyway.

This seems a bit like an xy problem.

SMF spam blocked by CleanTalk