Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 21/03/2004 18:24:01

Title: Right Clicking on GUI's
Post by: on Sun 21/03/2004 18:24:01
I have a GUI for my function buttons at the bottom of my screen. I want to be able to use these buttons, as well as use the SetNextCursorMode function at the same time.

So, to able to click on my GUI's, I have the GUI set to "clickable" as on, but I've found that having this completly overrides mouse clicks in favour of what is in the GUI's script.

This would be no problem, if I could find a way to actually find out what mouse button has been pressed at any one time. But no matter how hard I look, I can't seem to work it out.

Help on this would be greatly appreciated. :)
Title: Re:Right Clicking on GUI's
Post by: Dorcan on Tue 23/03/2004 08:01:15
I hope this will help you :
http://www.digitalmindstudio.ch/script.php?langue=en&id=1 (http://www.digitalmindstudio.ch/script.php?langue=en&id=1)