on_mouseover(float delay, integer link, integer side) event
Kimpa Tammas
Ability to trigger an ‘on_mouseover’ event when the mouse cursor is on a prim side. Used for example to show a floating text or a chat message to get help. The ‘delay’ parameter allows to set a delay in seconds before to execute the action in the event. The ‘link’ parameter return the link number of the prim when the cursor is. The ‘side’ parameter return the side number of the prim when the cursor is.
Log In
Bavid Dailey
You can do this already using a touch-start that resets the script timer LLResetTIme , and a touch-end that calls LLGetTime - and being touch scripts they have access to the various LLDetected....... variables such as face etc.
It's more general because you can do different things at different long click durations .
It is less general because if multiple avatars click the object, the timing gets reset .
Toothless Draegonne
Bavid Dailey
Hover is not the same thing. I'd certainly be in favour of a hover/mouseover event if it can be done efficiently. Note, you already have a touch event (no _start or _end) that can be used to determine if someone is holding the mousebutton down on an object.
Kimpa Tammas
Bavid Dailey As Toothless points out, it's really an overview. I already use touch events for extended clicks or double-clicks. Currently, there are no events that handle mouse hover.
Shakeno Tomsen
Kimpa Tammas May want to request permissions for this to work first. I can see this misused by bad actors to track people's mouse position if it is not permission dependent.
Kimpa Tammas
Shakeno This is a suggestion and of course requires thinking about how to use it properly. Perhaps the event should be filtered by specifying the user UUID.