Jump to content
Sign in to follow this  
Rubberene

White chat from HUD

Recommended Posts

I have noticed HUDs on the Marketplace that say they have the option to post pre-written sentences, etc, in local chat, but in white text so it looks as if an avatar has said them.

Example


I would like to script something similar, but I have no idea how an object can be scripted to speak as though the avatar is talking, in white text. Is it RLV? Gestures? Voodoo?


If anyone can tell me, I would be grateful.

Share this post


Link to post
Share on other sites

You can't control the color of chat on someone else's screen.  Anyone can customize the colors in Preferences, so one person's green is another one's pink or lemon yellow.

Share this post


Link to post
Share on other sites

It's NOT the sender of a message that sets the color - the receiver sets it.

The receiver is your viewer and your viewer knows if the message comes from an avatar or object. There is no way to hide that. Then the viewer will use the color that is defined in the settings. (green only for those who didn't change that)

So a hud's message is ALWAYS object-chat.

If you want to make it to avatar-chat the hud can IM you the message and you have to copy and paste it to the chat line. Then it is avatar-chat.

Share this post


Link to post
Share on other sites

the HUD probably pushes the text into a dialog. the button text is limited to 24 bytes, but it will appear exactly as if it came from the chat bar. (the product description only promises a shout option only for "green" text. the restriction is consistent with a dialog, which can only use "say" distance.)

 
 

Share this post


Link to post
Share on other sites

If you press a button in a dialog the avatar says the button text so it's (white) avatar-text.

But if a script uses llDialog and one of the buttons text is longer than 24 characters it throws an error. So 24 is max and thats not really much text.

Share this post


Link to post
Share on other sites

Hi hope its ok to revive this discussion.  I have seen a white text HUD generator, theres several on the mp like this one :

https://marketplace.secondlife.com/p/eMotive-Formal-Greeter-HUD-aka-White-Text-Host-DJ-Dancer-Buddy-Greeting-Assistant/3997978

I am trying to grasp the use of lldialog to create a similar white text HUD. It does'nt have to be clever. I appreciate it cannot go beyond 12 or 24 or maybe even just 8 characters. But there is only 5 letters in 'the word 'hello' so it would still be very useful. I dont need a heap of phrases either. Just a simple white hello. Is that so much to ask ? lol

So how to get a dialog button description to be said in local chat. Any clues please ?  xD

 

 

 

Share this post


Link to post
Share on other sites


rasterscan wrote:

clues please ? 

[Oooo! A game! How fun!]

Clue #1: "... to be said in local chat."

Clue #2: "In 1926, on her second attempt, 19-year-old Gertrude Ederle became the first woman to swim the English _______."

Share this post


Link to post
Share on other sites

this is all there really is to it.

default{    touch_start(integer n)    {        key o = llGetOwner();        if (llDetectedKey(0) == o)        {            llDialog(o, "click something.",            ["Hello.", "Bye!", "Bug off."], 0);        }    }}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...