Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Allowing an object to speak with my voice...?

Adman Drake
Registered User
Join date: 9 Feb 2006
Posts: 96
05-19-2006 21:28
I know I can have an object "talk", but I'd like it to look like it was coming directly from me...

Say I wanted to make a "beer gut" attatchment, and want it to make me belch every so often, or say something... Is that possible?

Looks like it's not...

Thanks!
Adman
Geuis Dassin
Filming Path creator
Join date: 3 May 2006
Posts: 565
05-19-2006 23:23
Im not sure if you mean your 'voice' as in a sound recording or just a text message.

Either way, in your example you could do part of this by using a function that moves the mouth. Sorry I dont know what it is, but look in the wiki and you should be able to find it under the avatar section.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
05-19-2006 23:32
You can do it using llDialog, but you'd have to click a button and you'd be limited to 24 characters at a time. Totally automatically, no.
Torin Golding
Misanthropic Humanist
Join date: 13 Sep 2005
Posts: 41
05-20-2006 00:35
Name the 'speaking' object with your name and add ":" to the start of the text. Then when it llSays on the 0 channel it will look like it says it with your name.
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
05-20-2006 05:15
CODE

string Attachment_Name = llGetObjectName ();
llSetObjectName ("Adman Drake");
llSay (0, "/me belches!");
llSetObjectName (Attachment_Name);
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
05-20-2006 11:32
Most people will see object chat in a different colour (green rather than white is the default I think, but I never use the default colours for chat).

The llDialog approach is the only way to fix that, because with llDialog it is actually you speaking.
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
05-20-2006 11:36
A PERMISSION_CONTROL_CHAT would be nice, really. An object could request that, and then once it was granted, could use llTakeChatControl() and llReleaseChatControl() to say things on behalf of the avatar.

Apart from the use for FX attachments, it could also be handy for, say, producing macros to command other objects.