|
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
|
08-30-2006 19:12
Hi, I am trying to create a script where i can keep on adding users and display all the users on the list as a hover text using llSetText but i don't know how i can get it to show an updated list with new names added there.
can anyone help?
thanks Mobius
|
|
Archanox Underthorn
Registered User
Join date: 20 May 2003
Posts: 168
|
08-30-2006 19:42
After adding or removing person to the list, you'll have to rebuild the settext message and set it again. To put the message together you'll prolly want something like: string textmessage; integer i; for(i = 0; i < listlength; i++) { textmessage += llList2String(list,i) + "/n" }
llSetText(textmessage,<1,1,1>,1);
_____________________
Archatek
Home to some of the highest quality katanas and other blades available in SL. Co-creator of the Samurai Island Combat System, one of the best melee combat systems available, come check it out!
___________________
|
|
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
|
08-30-2006 19:47
What about using llDumpList2String ? llSetText(llDumpList2String(USERSLIST, " \n "  , <0, 0, 0>, 1.0) is made to fire when you add the new name.
_____________________
 Seagel Neville 
|
|
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
|
08-30-2006 19:49
oh man how stupid can i get....
thank you!
|