Re: [Opensim-users] Proposal for a new OSSL function

2015-03-23 Thread Chris
Alright, I will look into some other ways to accomplish what I'm trying to do using the suggestions both of you have provided. I will go ahead and remove the proposal from the wiki since it's not a very good idea to implement. Thank you very much for the consideration though! :) On 3/16/2015

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-16 Thread Chris
My idea was to make it easier to get this information (from an LSL standpoint) directly where it's called. So you could have something like this: list objDetails = osGetObjectNameDetails([Chair], OBJECT_NAME | OBJECT_POS); string objName = llList2String(objDetails, 0); vector objPos =

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-16 Thread Dahlia Trimble
It *always* would need to scan the entire region contents because OpenSimulator lacks the ability to do spatial queries in any way other than a linear search. Sorry but I don't see the benefit of having the sim developers need to maintain extra complexity so your script can have a few less lines

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-16 Thread Melanie
There are tools in SL that are able to gather this information, through a combination of llGetObjectDetails and llSensor and some others. This includes the rotation and scaling as well as the kind of object, etc. Builder's tools do this regularly to place red dot prim spheres at the corners of the

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-13 Thread R.Gunther
One thing that llGetObject detail is missing is to get the prim size. so if this command get add. i hope the add the object size too. On 2015-03-13 20:00, Chris wrote: Hello all, I have a proposal for a new OSSL function that could possibly prove useful: osGetObjectNameDetails() I would

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-13 Thread Chris
Getting an object's size would be a really nice addition; but going by how llGetScale() functions I believe it would be limited to getting just the root prim's size rather than overall size if I'm thinking about this correctly. On 3/13/2015 2:03 PM, R.Gunther wrote: One thing that llGetObject

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-13 Thread Dahlia Trimble
Some initial thoughts Why not a function that returns a uuid for a name? Actually this could be done with a sensor now. No need to duplicate llGetObjectDetails functionality, just call it once you get the uuid. Such a function would need to scan every object in the region for a name match,

Re: [Opensim-users] Proposal for a new OSSL function

2015-03-13 Thread R.Gunther
I expected the OSSL works also with UUID you get from sensor. llGetObject details works very good for me, except am misisng the object size. I have a workaround for that. But a command that need to scan the whole sim to get something. I agree with dahlia, bad idea. On 2015-03-13 21:12, Dahlia