Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Detecting right mouse button in LSL?

Count Acronym
Registered User
Join date: 15 Jan 2007
Posts: 8
02-12-2007 20:09
Ok, this probably sounds hokie, but this is what I want to do:
You know how in SL when you click the right mouse button you get a beam of light balls that shoot from your hand to whatever your cursor is on? What I'd like to do is create a ring attachment (or something) that monitors for whenever the right mouse button is clicked (not clicked on the ring, just any right mouse button click that the user does) and when a right mouse button click is detected, the ring will generate a glow or some magical effect. I can do all of this within a script now, except for the part about monitoring for the right mouse button.

Can this even be done with LSL?

Thanks!
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
02-12-2007 20:39
I do not believe that what you want to do can be done... If you look at the LSL Wiki entry on llTakeControls, you will see that of all of the controls available, the right mouse button does not appear in the list.
Count Acronym
Registered User
Join date: 15 Jan 2007
Posts: 8
02-12-2007 20:55
Ah, I figured as much. Ah, well, it was just a thought. I was really hoping I could have my avatar's hand glow whenever he started to build... like a magician conjuring things out of thin air! LOL!

Thanks!