Just One Cursor

Started by esper, Tue 24/01/2006 15:56:33

Previous topic - Next topic

esper

I've been wasting most of my time trying to get this to work, and so I'm VERY behind on my OROW game. Hopefully somebody will be able to give me a hand.

I only want ONE cursor, a "use" cursor... and then the inventory cursor (when trying to use an inventory item in the world). All attempts (and there have been many) to do this have failed. I can't for the life of me figure out what I'm doing wrong. Can anyone who knows how to do this simply tell me? I'm sorry for what seems like it should be so easy... I remember in my last game cursors gave me a problem too... When I tried to make new cursors I copied the exact same settings and scripts out of the ones I needed, and they still didn't work until I just imported a new sprite over the old one... This time, though, I don't want right-clicking to change the cursor... I ONLY want the one, and then an inventory cursor if you select an item from your inventory.
This Space Left Blank Intentionally.

SSH

Certain cursor numbers have special properties. e.g. becomine the pic of the active inventory, or so on. Try using a different cursor number.
12

esper

How do I deactivate right-click cursor changing?
This Space Left Blank Intentionally.

Khris

Check out the on_mouse_click() function in the global script.
Look for the lines where it says
Code: ags
Ã,  if (button==eMouseRight) {
Ã,  Ã,  Mouse.Mouse.SelectNextMode()
}

Just remove this command.

Another way:
The command cycles through the cursors marked as "default" in the cursor pane, so you could disable the other cursors by deseleting "default", then set Use as active mode in the game_start() function.

esper

Thanks, guys. Between the two of you, I've gotten everything I need to get my OROW project off the ground.

This Space Left Blank Intentionally.

mwahahaha

To get rid of other cursors easily, just go into the cursor sections of AGS and unselect "Standard cursor mode" for the cursors you want to omit.  I did it for talk in my OROW game

SMF spam blocked by CleanTalk