SOLVED: Cursor Mode Mouse Graphic Problem

Started by barefoot, Fri 03/12/2010 11:15:15

Previous topic - Next topic

barefoot

Hi

UPDATE
Changed Code to:

Code: ags

mouse.ChangeModeGraphic(0, 167);

Seems to have done the trick..

Sorry to waste a post but maybe someone will find it usefull.

------------

I'm having a little trouble with the below mouse code..

It works showing the right graphic but does not show up on cursor immediately,
cursor displays Walk mode... How do I make it the immediate graphic instead of
clicking through to it?

Code: ags
 mouse.ChangeModeGraphic(2, 167);


IE: you click on a character with an inventory item  the mouse curser image should change to the new graphic as above which you are meant to use on something else.

Complete code for this section:

Code: ags

       function ball2_UseInv()
{
if     (player.ActiveInventory == itie)
{
      
       ball2.ChangeRoom(8);
       mouse.ChangeModeGraphic(2, 167);
       player.ActiveInventory=null;
       cChris.Say("Now what do I do??!!");

}
}


All help appreciated

barefoot

I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk