Hi
I am trying to amend the Interact cursor from selecting a particular inventory Item and having just the Look mode which opens a gui (or also have the interaction cursor do the same as the Look Inventory)..
This code simply makes the cursor disappear.
mouse.DisableMode(eModeInteract);
And this does about the same:
mouse.ChangeModeView(eModeLookat, 1);
Can you help please
barefoot
This has been asked, please use the search.
Here's a thread about a similar problem:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38635.msg508682#msg508682
Basically, changing the option in General settings allows you to handle inventory item clicks in on_mouse_click by using
else if (button == eMouseLeftInv) { // other ones are eMouseRightInv and eMouseMiddleInv
...
}
Normally you'd now check for the mode but since you want to do the same thing regardless of the mode, just use
inventory[game.inv_activated].RunInteraction(eModeLookat);
Cheers Khris
I did not come across that thread, my search terms did not bring that one up.
I will add it to the script.
Thanks again
barefoot
I was searching for "interact inventory".