Jump to content
  • 0

How do I remove floating text


You are about to reply to a thread that has been inactive for 76 days.

Please take a moment to consider if this thread is worth bumping.

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 3
  • Thanks 6
Link to post
Share on other sites

15 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 3
  • Thanks 6
Link to post
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 post
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 post
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 post
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);
       
    }
}
 

 

Link to post
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 post
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 post
Share on other sites
You are about to reply to a thread that has been inactive for 76 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...