Change of cursor with inventory

Started by Ghostlady, Fri 25/03/2005 05:14:26

Previous topic - Next topic

Ghostlady

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? 
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Ishmael

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...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Ghostlady

#2
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?
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

SMF spam blocked by CleanTalk