Jump to content
  • 0
Sign in to follow this  
Varo88

How do I remove floating text

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 4

Share this post


Link to post
Share on other sites

12 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 4

Share this post


Link to post
Share on other sites
  • 0

Hmmm,,, it didnt work and I was able to modify,,and delete the script but it is still there,,mocking me lol

Share this post


Link to post
Share on other sites
  • 0

Deleting the script isn't enough. Hover text can only be removed with a script. All you did was remove the script that MADE it. Did you insert my script to get rid of it?

Share this post


Link to post
Share on other sites
  • 0

Yes and it gave me a syntax error,, should I be inserting it before or after the other script commands?

 

Share this post


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.

Share this post


Link to post
Share on other sites
  • 0

Press ctrl+alt+t all at once to see to there is a hidden object attached to your AV. If so remove it once you find it. When your done press ctrl+alt+t to remove the red effect. All buttons must be pushed at one time.

Good luck.

Share this post


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.

 

Share this post


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

Share this post


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);
       
    }
}
 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...