Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetOwner - not getting owner

Millie Thompson
Resident Moderator
Join date: 18 Dec 2002
Posts: 364
09-06-2004 20:14
Try as I may, llGetOwner has stopped working for one of my scripts. (52 scripts in an outfit I created)

Upong giving a copy of the outfit to a member it would only activate the 3 suit modes if I were nearby givng the command, the suit would not listen to the new owner.

Any ideas? I had heard this was a supposed 1.5 bug.
_____________________
Millie Thompson
I am a Resident Moderator. I am a volunteer moderator on this forum, NOT a Linden. If you have any issues or concerns with your Second Life experience please go to Second Life Support
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
Re: llGetOwner - not getting owner
09-06-2004 20:47
From: someone
Originally posted by Millie Thompson
52 scripts
jesus
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
Re: llGetOwner - not getting owner
09-06-2004 20:59
What kind of outfit has 52 scripts?!?!
Driftwood Nomad
Registered User
Join date: 10 May 2003
Posts: 451
09-06-2004 21:01
Try putting an llResetScript in the on_rez event. That fixes my problem with recognizing a new owner.
_____________________
Driftwood Nomad
D&D Dogs Co-founder

"Second Life’s first AI companion animal"
The Second Opinion, 08/05/2003

D&D Dogs HQ Pawaii (127, 63)
Mainland Store Kuula (214, 124)

http://www.sldogs.com

SL Dogs Zazzle store!
Millie Thompson
Resident Moderator
Join date: 18 Dec 2002
Posts: 364
Re: Re: llGetOwner - not getting owner
09-07-2004 09:32
From: someone
Originally posted by Aaron Levy
What kind of outfit has 52 scripts?!?!


One where the textures of the suit change by the owner's command. The whole suit is created from 52 prims. ^^
_____________________
Millie Thompson
I am a Resident Moderator. I am a volunteer moderator on this forum, NOT a Linden. If you have any issues or concerns with your Second Life experience please go to Second Life Support
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
09-07-2004 10:29
A sure sign of a need for llSetLinkTexture...
_____________________
~ Tiger Crossing
~ (Nonsanity)
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
09-07-2004 12:33
Yeah, llGetOwner() has some weird behaviours when you're giving a script using it to someone else. I think once it grabs the owner data, subsequent calls to it don't update this information. So if you give someone an object that's already grabbed YOUR key as the owner, it'll never grab theirs unless a) they reset the script, or b) recompile the script (same diff :).

You'd think it would be a little less 'smart' and just do as it's told, grabbing the owner each time it's called. :)
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"