Buh-bye floating text

Did you know that SL prims have properties that you can’t see/edit in your viewer’s edit window? Sho’nuff, they do. For example, particle emission is a prim property. That means if a script that emits particles is placed into a prim, and then deleted, the prim will continue to emit particles.

Floating text (i.e. hover text) is another such property. Here’s a quick script that will erase floating text from any prim (as long as the prim doesn’t have scripts in it that are setting the text any more), and then delete itself. I have this in my inventory as “EraseTextOnce” and so I can quickly filter for the word “erase” and drag and drop the script from my inventory on top of any prim, and bingo, it’s done.

So, if you want to use this yourself, here’s how:

  1. Right-click in your Inventory and select New Script.
  2. Name the script whatever you’d like
  3. Double-click the script to open the script editor.
  4. Erase the contents of the default script, and replace it with the text below.
  5. Press Ctrl+S (or click the Save button)
    llSetText("", ZERO_VECTOR, 1.0);