No Mouse...

Started by Yuri Patrick, Wed 28/12/2011 05:48:19

Previous topic - Next topic

Yuri Patrick

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?

monkey0506

#1
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.

Yuri Patrick

Thansk, Monkey. Just got it figured out. :)

SMF spam blocked by CleanTalk