I have this bizarre issue where occasionally you cant right click into the inventory window. I notice it works when you press tab.
Is it something to do with the eModeWalkTo mode on the mouse, I haven't changed the code at all??
I got it to work by putting Mouse.Mode = eModeWalkTo at the start of each room, bizarre?
But I noticed if the ShowPlayerCharacter property is false then it wont come up either way.
EDIT:
Easy enough resolved.
Instead of having the following:
if (mouse.Mode == eModeWalkto && inventory_disabled == false){ // and you're not holding an active item or something
I used:
if (inventory_disabled == false) {
That seemed to do the trick
What's your script look like?
Quote from: Xenogia on Wed 13/05/2009 02:48:25I got it to work by putting Mouse.Mode = eModeWalkTo at the start of each room, bizarre?
Also, did you know you can create an on_event in the global script to handle this instead of having to put the same code in every room (unless you already have it set up globally)
~Trent
Tis all good don't worry about it, I even removed that eModeWalkTo so it isn't a problem. But thanks on the on_event in the global script that will come in handy.