Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Cybernet_Surfer on Sat 14/01/2006 04:00:55

Title: Creating A New Cursor
Post by: Cybernet_Surfer on Sat 14/01/2006 04:00:55
I am working on a new game.  My character has a large toung and I want to add a "Lick" Cursor.  I have done this but I cannot figure out how to make the character react to it.  I'm am relatively new at AGS so any help would be greatly apriciated.
Title: Re: Creating A New Cursor
Post by: Akumayo on Sat 14/01/2006 05:02:12
Rather than creating a new cursor, change the name of Usermode1 to "Lick" and change the graphic to the tongue.  Then in the editor, you can open interactions for "Lick" just like "Use" and "Look"
Title: Re: Creating A New Cursor
Post by: Ashen on Sat 14/01/2006 12:24:30
Akumayo's right, Usermode1/2 are right there in the interaction editor. However, if you've added an extra mode (Cursor 10), you'll need to use the 'Any click on ...' interaction, and check the cursor mode there, i.e.:

if (mouse.Mode == eModeMymode) {
...
}


But, unless you really need the extra modes, renaming an existing, unused mode (Usermode1/2, pick up) is probably easier.
Title: Re: Creating A New Cursor
Post by: Cybernet_Surfer on Sat 14/01/2006 17:42:08
Thank-you.  This has been extremely helpful.