Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I know its something simple, But LOL

Kurt Ludd
"The Gesture maker"
Join date: 27 Sep 2005
Posts: 229
06-16-2009 14:49
I am using this on a prim, if I leave the item in inv and wear it as a hud it works fine
But, if I rez the prim out and run the script the prim renames itself... How do I keep the object the original name but still have the object use my name in Chat text?


llSetObjectName(llKey2Name(llGetOwner()));llSay(0, "Hi";);

Kurt Ludd
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
06-16-2009 15:19
string old_name = llGetObjectName();
llSetObjectName(llKey2Name(llGetOwner()));
llSay(0, "Hi";);
llSetObjectName(old_name);
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
06-16-2009 15:22
Grrrr! Argent beat me to it. "Simple" is my middle name :p
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
06-16-2009 15:27
AND I twittered about the election in Iran as well!

Ferrets just have great reflexes. And coding chops.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Kurt Ludd
"The Gesture maker"
Join date: 27 Sep 2005
Posts: 229
TYVM Argent
06-16-2009 16:05
TYVM Argent Much appreciated :)


Kurt Ludd
Cappy Frantisek
Open Source is the Devil!
Join date: 27 Oct 2006
Posts: 400
06-16-2009 17:20
From: Argent Stonecutter
AND I twittered about the election in Iran as well!

Ferrets just have great reflexes. And coding chops.

tweet, tweet
_____________________
SL is not better than FL
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
06-16-2009 17:42
From: Argent Stonecutter
AND I twittered about the election in Iran as well!

Ferrets just have great reflexes. And coding chops.

Well that AND the T1 line you have hooked direct to the lab ;)
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum