Kelly Linden
Linden Developer
Join date: 29 Mar 2004
Posts: 896
|
04-21-2005 10:00
From: Apotheus Silverman Pardon my ignorance, but shouldn't llSameGroup() return TRUE if it is given the key of the group set on the object the script is in?
I understand the documentation says nothing about this, but it occurs to me that this would be a logical extension of that function. Given that there is no way for an object to tell if it is over group-owned land which is owned by its own group, this behavior change would allow that.
if (llSameGroup(llGetLandOwnerAt(llGetPos())) == TRUE) {...} Currently llSameGroup will return false if they key given is not an object or avatar. I'm looking for other opinions or thoughts on this function taking group keys. Can anyone think of a way this could break existing scripts?
_____________________
- Kelly Linden
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
04-21-2005 10:12
Sounds good to me. I don't see any issues. Now we could detect if an object is group deeded. integer isDeeded() { key owner = llGetOwner(); return llSameGroup(owner) && (llGetAgentSize(owner) == ZERO_VECTOR)); }
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
04-21-2005 10:32
No, that's a good idea. I can't think of any way that would break something, and it helps make LSL more consistent.
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
04-21-2005 10:50
I endorse this product and / or service. I didn't know that whining on the Hotline could accomplish these wondrous LSL transformations, and so instantly too! Mind if I draft up a list of my LSL pet peeves?
|
Kelly Linden
Linden Developer
Join date: 29 Mar 2004
Posts: 896
|
04-21-2005 11:19
There is a box (well, a cylinder) on my land in Ambleside (most easily accessed via picks in my profile) which accepts notecard drops of LSL ideas. Feel free to fill it.
I have one from Catherine already that I will be looking into. Its a bit of a bigger request than this one though.
_____________________
- Kelly Linden
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
04-21-2005 16:38
Yes i came across your cylinder today by accident... i was looking around the sim and noticed how it was all linden land... i'm waiting for jeff to send me his bear. could i have a copy of your bling bear?
I'll be sending in a card for inline conditionals (think thats the name for them) you know (condition)?(true):(false)
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
04-21-2005 22:22
I think I am going to camp your suggestion box 
|