Fader Magic Explained!

People often IM me, asking me how I make things appear and disappear during my acts.  For people new to SL dance especially, this tip may prove helpful.  It’s called fading, and it is my preferred way of making items fade in and out smoothly during a performance.

Fading things in and out is a fabulous effect. You can even fade entire sets in and out.  This is how I usually do scene changes in my dances.  To do this, you need to drop a fader script into the root prim of every linkset that you want to appear or vanish.  The fader script I use is free on MP, and we usually send the generous creator, Oggy Fink, a tip when we buy it to thank him for his generosity.  This is the script I use: ShowHideFade https://marketplace.secondlife.com/p/ShowHideFade/3925724

The first thing you want to do when you get this script is to remove the hovertext.  You don’t want some text over your items that says “here” showing onstage during your act.  So, open the script and delete the word “here” that is between the quotes on Line 3 of the script, but leave the quotes.  I found deleting the quotation marks themselves breaks the script, so only delete the word here.  Then, to use this script, drop it into the root prim of each linkset.  A linkset is a set of prims that are linked together.  The root prim is the one that highlights yellow when the linkset is put into edit mode.  Below, I will use screen shots to help explain this process.  If you cannot see the pictures well enough, click them and you should get the full size image which will be easier to see.  In this dance, I start in a circle of fire above a lamp, surrounded by eerie green on black images.  This is all a screen to introduce my act.  I will then fade it all away to reveal the scene behind it.


Right click the linkset, select edit, then on the general tab of the edit menu, tick the box that says “Edit Linked Parts.”  As in example above.  In my example, I am on the Texture tab, but it doesn’t really matter what tab you are on, you can select Edit linked on any of the edit menu tabs.


Left click the root prim.  Go to the Content tab of the Edit menu, as shown in the picture above.


Drag the fader script (ShowHideFade) into the contents of the root prim, demonstrated in the picture above.


The script has a channel that it listens on.  Anything typed on that channel will not show to anyone once you post it, not even to you.  You can change the channel to any thing you want.  Make sure to not use a channel that is commonly used by other items such as 9, 11, 12, and 99 which are often used by dance HUDs.  You don’t want to confuse your HUD by giving it odd commands on the channel that it listens on, so give your fader scripts their own unique channels.  If you have items that you want to fade in or out at different times, each of those fader scripts will need its own channel.  That way, the fader scripts in the linksets will only respond to commands issued on their own channels.  They won’t ‘hear’ anything that is on a different channel.  That is how you fade things in and out at different times.  The above image shows the fader script opened to be edited.


The above screen shot shows the word “here” removed from between the quotes on line 3, and the channel on line 8 has been changed to 32.

Then type the command in local chat on the assigned channel. Example, if the assigned channel is 8, you would type /8 Hide. Or /8 Show, to make something appear.  I always use SHOUT for these commands, just in case I am too far away from the root prim for the script to hear me.  This is very unlikely but to be on the safe side, I always use SHOUT instead of SAY.  If you use the Spot On Director’s HUD and want to include these commands in your HUD emotes so that they trigger automatically, the command would look like this:


Explanation of the above HUD command: 1:32 is the time I want the event to happen, I want to SHOUT it not SAY it, the command will post for this linkset on channel 32, and I want to Hide the linkset, meaning I want it to vanish.  If I want it to appear, I would use the word Show.  I have not found hide and show to be case sensitive for this script.


I post the command and that linkset fades away.


And this is what the audience now sees, the set behind the first linkset.  Like magic!  Mind you, the other linkset is still there, it is just 100% transparent.

In order to avoid possible physical collisions and to guarantee no mishaps, I make ALL my prims for my set phantom.  There is a ton of stuff on that stage, so we do not want to tempt bumping.  As you can see in the picture below that is showing transparent items, the original screen prims are still there, they are just now at 100% transparency.


To see invisible items, press Control/Alt/T.


Now keep in mind, if you have an object that is semi-transparent, if you fade it in, it will come in fully with no transparency.  And items that glow when you fade them out, the glow will remain.  I get around this by trying to not use such items in my sets or by not putting those types of items in my rez box, and simply restore or take them when I want them to appear or disappear.  Chewie Quixote has created a script that will also allow you to control glow on an item when fading it.  I am not sure if she sells this script, but you can ask her about it.

So there you have it about faders.  There is still more you can do, such as edit the script to control how long fades take.  Also I have had issues where occasional items ghost… they do not fade entirely, some prims go to like 85% transparency and stick there.  I believe this is a viewer issue, because the times it has happened to me, I look on my other half’s monitor and the items are fully faded out.  You can try putting a fader script into each prim in your linkset if you are having this problem, but I have found that does not make a difference.  It seems to happen on occasion with mesh items.  Naturally.  Because mesh is full of issues.

Good luck and have fun with fader magic in your dances!

An award-winning competitive Gorean dancer, Babypea entered mainstream SL performance dance in July 2012. She co-owns Elysium Cabaret, and often dances for other troupes as well, as a regular or a guest performer. The friendship and fellowship dance provides is as important to her as the creative expression of this amazing artistic medium.


  1. Pingback: Fader Magic Made Easy | Elysium Cabaret

  2. Samual Wetherby

    September 24, 2015 at 10:30 AM

    Here’s an example of change you would add the full alpha code.
    OLD Version:

    if (m==showcmd)
    } else if (m==hidecmd)


    if (m==showcmd)
    llSetAlpha(1.0, ALL_SIDES);
    } else if (m==hidecmd)
    llSetAlpha(0.0, ALL_SIDES);

    This will run the show(); fader option but once it returns to the script it will make sure the scene is 100% visible also.

    Same for the hide(); function. it will run that part of the code function, return to that last place in the script and check to make sure the scene is 100% invisible.

    Fixes the viewer glitch on fader scripts.

    This is to be used only in root prim and assumes you are wanting entire item to fade in or out on command. Other codes would be used if want only parts to change.

    Next week we show you how to make a vinegar and baking soda volcano!
    See you next time on Mr. SL Science!

    • Bapypea VonPhoenix

      September 24, 2015 at 3:05 PM

      Good gawd!! O.O That’s Algebra! *runs screaming* Though I will admit, this is the first time in my entire adult life I have ever had a need for Algebra. Which says a lot about what I’ve been doing with my time *snorts* though now that I’ve decided to invent a TARDIS that really works, I imagine I will be using Algebra a lot more.

      I will pass you my script. And I will let you fix it and pass it back to me. Don’t you love how I used the word ‘let’? #he’sgoingtokillme

  3. Samual Wetherby

    September 23, 2015 at 2:46 PM

    I’ve modified similar script with a full transparency lsl code after the script is suppose to be 100% faded or visible.

    By adding a 1.0 or 0.0 alpha code to the script you insure it goes 100% invisible or seen no matter what and fixed the viewer glitch.

    llSetAlpha(0.0, ALL_SIDES); or llSetAlpha(1.0, ALL_SIDES);

    On of these would be added to end of the fader section just before that code function is finished and returns to whatever default state.

    • Bapypea VonPhoenix

      September 23, 2015 at 10:28 PM

      Okay, now in normal person terms, for those of us who fear technology… I add one of those to which line of the fader script? And, llSetAlpha(0.0, ALL_SIDES); is to make the linkset fully invisible? And llSetAlpha(1.0, ALL_SIDES); makes it fully seen? Type slowly, using very small words please. Where would I add those lines to my script?

  4. Pingback: Fader Magic Explained! – SHOWTIME MAGAZIN...

You must be logged in to post a comment Login

Leave a Reply