<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlGetAnimationList</id>
	<title>LlGetAnimationList - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlGetAnimationList"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetAnimationList&amp;action=history"/>
	<updated>2026-10-25T11:11:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlGetAnimationList&amp;diff=122&amp;oldid=prev</id>
		<title>Osgridadmin: Created page with &quot;==Function: list llGetAnimationList( key id );== Returns a list of all playing animations for avatar described by the key id. &lt;br&gt; • key 	id 	– 	avatar UUID that is in...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetAnimationList&amp;diff=122&amp;oldid=prev"/>
		<updated>2017-12-31T22:05:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Function: list llGetAnimationList( key id );== Returns a list of all playing animations for avatar described by the key id. &amp;lt;br&amp;gt; • key 	id 	– 	avatar &lt;a href=&quot;/index.php?title=UUID&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;UUID (page does not exist)&quot;&gt;UUID&lt;/a&gt; that is in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: list llGetAnimationList( key id );==&lt;br /&gt;
Returns a list of all playing animations for avatar described by the key id. &amp;lt;br&amp;gt;&lt;br /&gt;
• key 	id 	– 	avatar [[UUID]] that is in the same region 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• There is no internal mechanism to get the name of the animations playing. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
This example is a bit involved but there aren&amp;#039;t many applications for this function. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
//Simple Animation Override for Walk&lt;br /&gt;
key old_anim = &amp;quot;6ed24bd8-91aa-4b12-ccc7-c97c857ab4e0&amp;quot;;&lt;br /&gt;
string new_anim=&amp;quot;yoga_float&amp;quot;;&lt;br /&gt;
integer status;&lt;br /&gt;
list check;&lt;br /&gt;
key owner;&lt;br /&gt;
 &lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        owner = llGetOwner();&lt;br /&gt;
        llRequestPermissions(owner, PERMISSION_TRIGGER_ANIMATION);&lt;br /&gt;
        check = [old_anim];&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    run_time_permissions(integer p)&lt;br /&gt;
    {&lt;br /&gt;
        if(p &amp;amp; PERMISSION_TRIGGER_ANIMATION)&lt;br /&gt;
        {&lt;br /&gt;
            llSetTimerEvent(0.2);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    timer()&lt;br /&gt;
    {&lt;br /&gt;
        if(llGetAgentInfo(owner) &amp;amp; AGENT_WALKING)&lt;br /&gt;
        {&lt;br /&gt;
            list anims = llGetAnimationList(owner);&lt;br /&gt;
            if(~llListFindList(anims, check))&lt;br /&gt;
            {&lt;br /&gt;
                status = 1;&lt;br /&gt;
                llStartAnimation(new_anim);&lt;br /&gt;
                llStopAnimation(old_anim);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        else if(status)&lt;br /&gt;
        {&lt;br /&gt;
            llStopAnimation(new_anim);&lt;br /&gt;
            status = 0;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    on_rez(integer p)&lt;br /&gt;
    {&lt;br /&gt;
        llResetScript();&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetAgentInfo]] 	– 	Gets the avatar info 	 &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetAnimation]] 	– 	Get an over simplified avatar info string 	 &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llStartAnimation]] 	– 	Start an animation on an avatar 	 &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llStopAnimation]] 	– 	Stop an animation playing on an avatar  &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>