Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Yuri Patrick on Wed 28/12/2011 05:48:19

Title: No Mouse...
Post by: Yuri Patrick on Wed 28/12/2011 05:48:19
I am working on an old-style game prior to full mouse support. The only thing I want in my game is left-click and pointer. Is there anyway to disable all but the pointer and disable the click-to-walk functionality?
Title: Re: No Mouse...
Post by: monkey0506 on Wed 28/12/2011 06:26:02
Yes, put the correct code in your on_mouse_click function to match what you want to do.

If you don't know what I'm talking about, then you seriously need to go through the tutorials (plural) in the manual, because you need to understand how basic events like this work.

And, yes, I am being a bit short with you, but the last several questions you've asked have been cases of RTFM, so I think it's time that you do. I'll be more than happy to help you once you've actually put forward the slightest bit of effort yourself. ;)

That being said, I will direct you to check out Predefined global script functions (specifically on_mouse_click, etc.), the Mouse functions and properties (specifically Mouse.Mode, Mouse.DisableMode, etc.), everything in the Tutorials branch, and the Scripting tutorial parts 1 and 2.
Title: Re: No Mouse...
Post by: Yuri Patrick on Wed 28/12/2011 17:59:40
Thansk, Monkey. Just got it figured out. :)