|
Sturm Hellershanks
Registered User
Join date: 22 Jun 2008
Posts: 9
|
07-14-2008 16:23
Is there an efficient way to update Hovertext without just running multiple llSetText() lines or calling a custom function that updates the hovertext when it needs updating? I have hovertext at the moment which contains a value I need to have dynamically updated when the value changes.
Thank you in advance for any responses!
|
|
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
|
07-14-2008 17:10
Long answer: Since the only way to change the hovertext is to use llSetText(), I don't see how you could do without it.
Short answer: No.
|
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
07-15-2008 05:43
/me tries to imagine what would be simpler or more efficient than "llSetText(mytext)".
|
|
Sturm Hellershanks
Registered User
Join date: 22 Jun 2008
Posts: 9
|
07-15-2008 14:07
I was just trying to avoid lots of calls to llSetText(). If there was some way for the variable contained in the llSetText() to automagically update:
i.e.
llSetText("Color of your Pants: " + (string)pant_color, etc, etc, etc);
Rather than sending another llSetText() command each time the variable changes, if pant_color was ever updated the hovertext would automagically update. But I guess it's not set up to check for variable updates.
Was just wondering...
|