|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
10-29-2007 06:59
I am looking to have an object "talk" using llSay. I know that I can start the text with a / and have it come out "object says . . ." Is there a way that I can remove the name of the object in the chat? There is nothing to hide, just trying to make it a little smoother.
Thanks
|
|
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
|
10-29-2007 07:13
You can change the name of the object, if that helps.
|
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
10-29-2007 13:17
Try this: string myOldName = llGetObjectName() llSetObjectName(""  ; llSay("/me Data loaded"  ; llSetObjectName(myOldName); If you don't store the old name, and reset it, the object will be hard to find in inventory, especially if it's an attachment.
|
|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
10-29-2007 14:26
Ahhh, I thought of that after I posted, but had still hoped there might be another way. . . .
Thanks for the help, at least that gets me somewhere.
|
|
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
|
10-30-2007 01:49
Doh, I had never thought of putting the object name to "". I used to set it to the first whole word in the message to be said and then use "/me " + the_rest_of_the_message
_____________________
www.nandnerd.info http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
|