<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=AS_Alpha_Animation</id>
	<title>AS Alpha Animation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=AS_Alpha_Animation"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=AS_Alpha_Animation&amp;action=history"/>
	<updated>2026-06-17T09:59:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=AS_Alpha_Animation&amp;diff=1169395&amp;oldid=prev</id>
		<title>Silent Mole: Created page with &quot;&lt;lsl&gt; /*    Show one piece of a linkset at a time, in the order specified. */  // The names of the linkset pieces in the (looping) order you want them shown. list ORDER = [ &quot;A&quot;, …&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=AS_Alpha_Animation&amp;diff=1169395&amp;oldid=prev"/>
		<updated>2012-06-18T17:39:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;lsl&amp;gt; &lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Show one piece of a linkset at a time, in the order specified.: &lt;/span&gt;  // The names of the linkset pieces in the (looping) order you want them shown. list ORDER = [ &amp;quot;A&amp;quot;, …&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;lsl&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
   Show one piece of a linkset at a time, in the order specified.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
// The names of the linkset pieces in the (looping) order you want them shown.&lt;br /&gt;
list ORDER = [ &amp;quot;A&amp;quot;, &amp;quot;B&amp;quot;, &amp;quot;C&amp;quot; ];&lt;br /&gt;
// linkset ID numbers in order&lt;br /&gt;
list frames;&lt;br /&gt;
// current position in the frames list&lt;br /&gt;
integer current_frame = 0;&lt;br /&gt;
&lt;br /&gt;
list ListLinked(list Needles) {&lt;br /&gt;
    integer Prims = llGetNumberOfPrims()+1;&lt;br /&gt;
    while(--Prims) {&lt;br /&gt;
        integer Ptr = llListFindList(Needles,[llGetLinkName(Prims)]);&lt;br /&gt;
        if(~Ptr) Needles = llListReplaceList(Needles,[Prims],Ptr,Ptr);&lt;br /&gt;
    }&lt;br /&gt;
    return Needles;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
SetFrame( integer frame ) {&lt;br /&gt;
    llSetLinkAlpha( LINK_SET, 0.0, ALL_SIDES);&lt;br /&gt;
    llSetLinkAlpha( frame, 1.0, ALL_SIDES);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry() {&lt;br /&gt;
        frames = ListLinked( ORDER );&lt;br /&gt;
        llSetTimerEvent ( 1.0 );&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    timer() {&lt;br /&gt;
        if (current_frame &amp;gt;= llGetListLength(frames)) current_frame = 0;&lt;br /&gt;
        &lt;br /&gt;
        SetFrame(llList2Integer(frames, current_frame));&lt;br /&gt;
        ++current_frame;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Silent Mole</name></author>
	</entry>
</feed>