Jump to content
  • 0

How do I remove floating text


Varo88
 Share

Question

  • 0

Assuming that you have mod perms for the item, add this script to it.....

 

default{    state_entry()    {        llSetText("",<1.0,1.0,1.0>,1.0);        llRemoveInventory(llGetScriptName());    }}

 This will NOT work, however, if you have another script in the object that is creating the hover text every time it resets.  If that's the case:

(1) If the other script is ONLY a hover text script, simply delete it.

(2) If the other script is doing other things, and if you have mod perms for it, open the script and change the text in the llSetText command -- it's pretty obvious -- to look like my example above.

If you cannot delete or modify the script, then you'll just have to live with it.

 BTW, my script will delete itself immediately once it has erased the hover text, so you don't have to worry about cleanup.

 ETA: If hover text is hanging around even after you have deleted an object, you didn't delete the whole thing.  There's still a small or invisible prim that has the hover text in it.  Use CTRL + Alt + T to find it.

  • Like 4
  • Thanks 6
Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

Assuming that you have mod perms for the item, add this script to it.....

 

default{    state_entry()    {        llSetText("",<1.0,1.0,1.0>,1.0);        llRemoveInventory(llGetScriptName());    }}

 This will NOT work, however, if you have another script in the object that is creating the hover text every time it resets.  If that's the case:

(1) If the other script is ONLY a hover text script, simply delete it.

(2) If the other script is doing other things, and if you have mod perms for it, open the script and change the text in the llSetText command -- it's pretty obvious -- to look like my example above.

If you cannot delete or modify the script, then you'll just have to live with it.

 BTW, my script will delete itself immediately once it has erased the hover text, so you don't have to worry about cleanup.

 ETA: If hover text is hanging around even after you have deleted an object, you didn't delete the whole thing.  There's still a small or invisible prim that has the hover text in it.  Use CTRL + Alt + T to find it.

  • Like 4
  • Thanks 6
Link to comment
Share on other sites

  • 0

Ummm.. It's a freestanding script. You don't put it INTO another one. Just select the object with your Build/Edit tool (CTRL+3), go to the Contents page, and click New Script. Open the new script and paste this script into it, replacing the dummy script that is there already. Hit Save. It should execute instantly and then vanish, along with the hover text.

Link to comment
Share on other sites

  • 0
On 3/19/2012 at 5:15 PM, Rolig Loon said:

Assuming that you have mod perms for the item, add this script to it.....

 


default{    state_entry()    {        llSetText("",<1.0,1.0,1.0>,1.0);        llRemoveInventory(llGetScriptName());    }}

 This will NOT work, however, if you have another script in the object that is creating the hover text every time it resets.  If that's the case:

(1) If the other script is ONLY a hover text script, simply delete it.

(2) If the other script is doing other things, and if you have mod perms for it, open the script and change the text in the llSetText command -- it's pretty obvious -- to look like my example above.

If you cannot delete or modify the script, then you'll just have to live with it.

 BTW, my script will delete itself immediately once it has erased the hover text, so you don't have to worry about cleanup.

 ETA: If hover text is hanging around even after you have deleted an object, you didn't delete the whole thing.  There's still a small or invisible prim that has the hover text in it.  Use CTRL + Alt + T to find it.

Wow. It worked for me. Thanks.

 

Link to comment
Share on other sites

  • 0

Just a note  from a not terribly efficient script person. There has been a free script going around for over a decade called "scrubber" which preforms this tasks easily --- sooooooooo, many schools and building helper places will have that script in their give aways. There are likely a few dozen on the Marketplace for free also. 

  • Like 2
Link to comment
Share on other sites

  • 0

thanks for all the help, however i couldn't remove it any other way (even after deleting the hover-text script) ..so i simply add the floating-text-script again with nothing between ""

and worked finally, text gone!

just that:

 

default
{
    state_entry()
    {
        llAllowInventoryDrop(TRUE); 
        llSetText("", <1,1,1>, 1.5);
       
    }
}
 

 

  • Like 1
Link to comment
Share on other sites

  • 0
On 3/19/2012 at 9:15 PM, Rolig Loon said:

Assuming that you have mod perms for the item, add this script to it.....

 


default{    state_entry()    {        llSetText("",<1.0,1.0,1.0>,1.0);        llRemoveInventory(llGetScriptName());    }}

 This will NOT work, however, if you have another script in the object that is creating the hover text every time it resets.  If that's the case:

(1) If the other script is ONLY a hover text script, simply delete it.

(2) If the other script is doing other things, and if you have mod perms for it, open the script and change the text in the llSetText command -- it's pretty obvious -- to look like my example above.

If you cannot delete or modify the script, then you'll just have to live with it.

 BTW, my script will delete itself immediately once it has erased the hover text, so you don't have to worry about cleanup.

 ETA: If hover text is hanging around even after you have deleted an object, you didn't delete the whole thing.  There's still a small or invisible prim that has the hover text in it.  Use CTRL + Alt + T to find it.

omg I came here looking for answers and this worked!!! thank you !!!!!!

Link to comment
Share on other sites

  • 0
On 3/20/2012 at 2:45 AM, Rolig Loon said:

Assuming that you have mod perms for the item, add this script to it.....

 


default{    state_entry()    {        llSetText("",<1.0,1.0,1.0>,1.0);        llRemoveInventory(llGetScriptName());    }}

 This will NOT work, however, if you have another script in the object that is creating the hover text every time it resets.  If that's the case:

(1) If the other script is ONLY a hover text script, simply delete it.

(2) If the other script is doing other things, and if you have mod perms for it, open the script and change the text in the llSetText command -- it's pretty obvious -- to look like my example above.

If you cannot delete or modify the script, then you'll just have to live with it.

 BTW, my script will delete itself immediately once it has erased the hover text, so you don't have to worry about cleanup.

 ETA: If hover text is hanging around even after you have deleted an object, you didn't delete the whole thing.  There's still a small or invisible prim that has the hover text in it.  Use CTRL + Alt + T to find it.

Wow this really helped me out..Excellent!!!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...