Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mordo

#1
Thanks for your answer. I just realized, however, that my real problem is not being able to change the cursors in the inventory bar at all. The cursor function, despite the icon changing to the normal mouse symbol, stays the same as in the room and is not changeable while the mouse is in the inventory GUI.

I decided to have the mouse use left-click as "Use" and right-click as "Look at", but I still need to set the left-click function to default "Use" when hovering over the inventory. I added mouse.Mode = eModeInteract; to your code, but it did nothing at all.

Where do I have to insert this kind of code to make it work?
#2
hi,
I thought this is the right thread for my problem...
I'm trying to reduce my mouse cursors to "walk to" "interact" and "look".
in the inventory which is on the bottom of the screen, there is no need for the "walk to" so I want to dismiss it, while the player is on the GUI gInventoryNEW.

I couldn't set a mouse over action to the GUI, so I tried to solve it whith a hotspot that covers the inventory GUI and put this code in it's mouse over action:
function hMenu_MouseMove()
{
//mouse.SaveCursorUntilItLeaves();
mouse.DisableMode (eModeWalkto);
}

(I don't know what the CurseUntilitleaves actually does, so I commented it out, because it's the same with or without).

Result is: I got rid of the "Walk to" cursor but it stays forever, even if I take the mouse off the hotspot.

Thanks for your help
SMF spam blocked by CleanTalk