Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSelected - Propostion 112

SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
02-14-2006 19:29
This is an important feature proposal that merits consideration.

From: someone
Name: llSelected function and selection* events
Category: scripting
Subcategory: lsl functions
Author: Christopher Omega
Prop Date: 2005-04-14

Feature Detail:
Implement
list llSelected(key user)
that returns a list of the objects currently selected by the specified user.

Also implement select_start/select/select_end events that trigger when the task is selected (either in edit mode, via ctrl+drag, or right-click).
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
02-15-2006 06:55
I'm not a rocket surgeontist, but I did accidentally reprogram my roomate's dog to repond to 'fluffy' instead of just blinking 12:00, ,12:00 all the time.

'selecting' an item as an even might be tricky, seeing as the client doesn't send data on it unless it's being moved, edited, etc. If it was llSelect enabled, I suppose the client would have to be made to transmit that.

What did you have in mind as an example?
_____________________
Moopf Murray
Moopfmerising
Join date: 7 Jan 2004
Posts: 2,448
02-15-2006 07:07
Hasn't feature voting gone the way of the Dodo?
_____________________
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
02-16-2006 07:30
From: Burke Prefect

'selecting' an item as an even might be tricky, seeing as the client doesn't send data on it unless it's being moved, edited, etc. If it was llSelect enabled, I suppose the client would have to be made to transmit that.

Not necessarily, many tidbits of object data aren't transmitted before you select the object, such as the name, owner and description of that object to name a few. I dont think it would be a big deal to send a "hey this object was selected" message to the server - the client already does something similar to retrieve this extra data.

This can be used to enhance the editing experiance - you cant touch two objects simultaniously atm - however, you can select two simultaniously. The UI is there, we just need the interface to allow for scripts that automatically align objects, mirror objects, link objects, and do many other interesting things through the already user-friendly (sorta) edit mode.
==Chris
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
02-16-2006 14:26
Man, that would be so much better than having to touch each one.

/votes applied
Zepp Zaftig
Unregistered Abuser
Join date: 20 Mar 2005
Posts: 470
02-21-2006 04:43
I think it would also be useful with functions for selecting and unselecting objects, like llSelect and llUnSelect. For example, if you have a linked house and want to select a specific part, then that could unselected the other parts. It could also be useful for selecting objects found with a sensor, like when loosing stuff underground.