Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Floating Text Help

Tara Bournemouth
Registered User
Join date: 9 Oct 2006
Posts: 21
11-18-2007 11:24
Is there a way to get the floating text above an object to randomly cycle through colors?
Debbie Trilling
Our Lady of Peenemünde
Join date: 17 Oct 2006
Posts: 434
11-18-2007 11:41
http://rpgstats.com/wiki/index.php?title=LlSetText
http://rpgstats.com/wiki/index.php?title=LlFrand
http://rpgstats.com/wiki/index.php?title=LlSetTimerEvent

Set up a timer event, and within it call llSetText() with randomly generated numbers for the color vector:

llSetText("Cycles thro' random colours", <llFrand(1.0),llFrand(1.0),llFrand(1.0)>,1.0);

:)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-18-2007 18:23
be warned, llSetText forces a complete update of an object, forcing the viewer to redownload ALL properties.... if overused it can contribute to lag
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -