Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ghostlady on Fri 25/03/2005 05:14:26

Title: Change of cursor with inventory
Post by: Ghostlady on Fri 25/03/2005 05:14:26
I am creating a first person game.  The interact (hand) cursor is used constantly unless it is run over a hotspot.  That will change the cursor to the arrow.  When an inventory item is used, it always goes to the look cursor.  Is there a way to prevent this from happening?

Is there a way to disable all the cursors except for the interact and pointer?

What can I do to distinguish a hotspot/object (arrow) and a hotspot/object (arrow) that requires an inventory item? 
Title: Re: Change of cursor with inventory
Post by: Ishmael on Fri 25/03/2005 09:46:20
DisableCursorMode or something, check the manual for what it actually does. To me it sounds like there's something funny going on with the code... Have you made much changes to the on_mouse_click function? As if you can't get rid of the problem, post the code here so we can see if there's something wrong with it causing this. But try that function first...
Title: Re: Change of cursor with inventory
Post by: Ghostlady on Fri 25/03/2005 23:24:59
DisableCursorMode did it.Ã,  That was too easy.Ã,  Thank you for the help.

So now the hand will always be there except for a hotspot and that works with the pointer/arrow.  If there is an inventory item that can be used on a hotspot or an object, can the cursor change to let the player know that?