Creating A New Cursor

Started by Cybernet_Surfer, Sat 14/01/2006 04:00:55

Previous topic - Next topic

Cybernet_Surfer

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.
I work to create games that have morals and virtues in them.

Akumayo

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"
"Power is not a means - it is an end."

Ashen

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.:
Code: ags

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


But, unless you really need the extra modes, renaming an existing, unused mode (Usermode1/2, pick up) is probably easier.
I know what you're thinking ... Don't think that.

Cybernet_Surfer

Thank-you.  This has been extremely helpful.
I work to create games that have morals and virtues in them.

SMF spam blocked by CleanTalk