|
Brent McKinley
Registered User
Join date: 7 Jul 2006
Posts: 2
|
09-07-2006 14:39
Hey guys, I have an Online Message/Tracker Script in which I applied to some new office furniture I just recently purchase. I didn't know that when you apply scripts to things that are linked together it would attach to the YELLOW section of the link object. So now I have Brent Mckinley is Online attached to the leg of the office chair. I right clicked , opened the content and deleted the script however the text is still showing.. I took the items and then replaced them and still the text is showing.. So instead of spending another L$4,000 on furniture is there anything I can do to completely wipe the text off the screen..??
Thanks guys,
Brent Mckinley
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
09-07-2006 15:02
Drop this script into that prim: default { state_entry() { llSetText("", ZERO_VECTOR, 0.0); } }
The floating text becomes a property of the prim (like its color, texture, etc.), and stays around even if the script that set that text is removed. The script above should delete that text.
|
|
Brent McKinley
Registered User
Join date: 7 Jul 2006
Posts: 2
|
Re:
09-07-2006 15:12
Thanks so much man. I really appreciate it!! From: Ziggy Puff Drop this script into that prim: default { state_entry() { llSetText("", ZERO_VECTOR, 0.0); } }
The floating text becomes a property of the prim (like its color, texture, etc.), and stays around even if the script that set that text is removed. The script above should delete that text.
|
|
Aakanaar LaSalle
Registered User
Join date: 1 Sep 2006
Posts: 132
|
09-07-2006 15:59
another point to make is that when you put a script into the object, you're actually putting it into the root prim of that object, which is the last prim selected when linking the prims together. So if you have modify rights and can unlink, link them, then unlink, select all the prims, hold shift button down and unselect the prim you want to be the root prim then reselect it, then link it.
Also, that script he gave you, has to be put into the same prim you put the earlier script into. If you unlinked it and relinked it earlier, then make sure you put this script in the same prim. Otherwise, it should go into the same prim automatically, if you havn't messed with it, cause the root prim hasn't changed.
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
09-08-2006 04:50
Another tip / mod to the above is to make it self delete default { state_entry() { llSetText("", ZERO_VECTOR, 0.0); llRemoveInventory(llGetScriptName()); } }
No need for the script once its cleared the text.
|