Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetParent() - Return the key of parent object

CrystalShard Foo
1+1=10
Join date: 6 Feb 2004
Posts: 682
09-26-2005 17:48
I would like to purpose adding the ability to obtain the key of an object's rezzer.

Command syntax:

key llGetParent()

Executing this command will return the key of the parent object who've rezzed us.

We allready have an event called object_rez(key object), however this event is only good for finding out the key of child objects. Lacking the ability to find who was the parent is a real pain in the back.

Feature Vote URL: http://secondlife.com/vote/index.php?get_id=628
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-26-2005 21:54
[stamp of approval]

In the event it is rezed from inventory by a user it should return the users key. Even if that is from the inventory of an object. Only if it is rezed by a script should it return the parent objects key.
_____________________
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
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
09-27-2005 01:55
and if objects don't remember who their parents are, could we at least get the parent key as a pram for the on_rez event (using something like function-overloading to maintain compatability with old scripts perhaps)
CrystalShard Foo
1+1=10
Join date: 6 Feb 2004
Posts: 682
09-28-2005 12:36
Afew people told me that the post is confusing, and they think that my "parent" I am refering to the root prim of a link set. This is not what I am refering to - I am refering to the object who have rezzed the prim in question.

I edited the post to make it more clear, but I cannot edit the subject line, and cannot edit the Voteing feature.

Hope this will not trow off too many people.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-30-2008 17:36
http://jira.secondlife.com/browse/SVC-2643
_____________________
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
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
12-01-2008 08:08
I think I'd rather it return a NULL_KEY if it was rezzed from inventory. It's an easier test than checking if the key is an avatar, I think. Not a ton easier but easier.

/me votes anyway.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Darling Brody
Registered User
Join date: 2 Oct 2006
Posts: 24
waiting....
12-01-2008 20:10
Taps foot....

http://jira.secondlife.com/browse/SVC-3466

....4 years and still waiting......
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-02-2008 13:36
From: Meade Paravane
I think I'd rather it return a NULL_KEY if it was rezzed from inventory. It's an easier test than checking if the key is an avatar, I think. Not a ton easier but easier.

/me votes anyway.

Not a good solution, the object might be sold as original at which point it's new owner would not be the person who rezzed it.
_____________________
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