Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for a Hover Text Script

Eboni Khan
Misanthrope
Join date: 17 Mar 2004
Posts: 2,133
01-27-2005 11:11
I am looking for a hover text script. Does anyone have one? I did a search, and couldn't find one.


Thanks.
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
01-27-2005 11:17
CODE
default {
state_entry() {
llSetText("Hello.", <1,0,0>, 1.0);
}
}


"Hello." is your message, <1,0,0> is the color vector, 1.0 is the alpha (0.0 is transparent and 1.0 is opaque). if you need a line break use "\n" in your message so for example "Hello.\nGoodbye." would look like:
Hello.
Goodbye.
Eboni Khan
Misanthrope
Join date: 17 Mar 2004
Posts: 2,133
01-27-2005 11:23
Thanks so Much!
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
01-27-2005 11:24
A pointer to the all knowing LSL Wiki is probably in order. Eboni, scripting simple things is simple as Zuzi showed you. However, it is not often clear where to learn about it; now you know.