<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Penn+Euler</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Penn+Euler"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Penn_Euler"/>
	<updated>2026-07-27T11:05:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlGetAnimationList&amp;diff=459682</id>
		<title>LlGetAnimationList</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlGetAnimationList&amp;diff=459682"/>
		<updated>2009-08-14T06:19:37Z</updated>

		<summary type="html">&lt;p&gt;Penn Euler: clarified that returned list is keys, not names.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL Function/avatar|id|sim=*}}{{LSL_Function&lt;br /&gt;
|func_id=266|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|func=llGetAnimationList|return_type=list|p1_type=key|p1_name=id&lt;br /&gt;
|func_footnote&lt;br /&gt;
|func_desc&lt;br /&gt;
|return_text=of keys of playing animations for avatar described by the key &#039;&#039;&#039;id&#039;&#039;&#039;.&lt;br /&gt;
|spec&lt;br /&gt;
|caveats=*There is no internal mechanism to get the name of the animations playing.&lt;br /&gt;
*Standard animations can be started and stopped by scripts, so the list returned may not accurately reflect the avatar&#039;s state. Use [[llGetAgentInfo]] and [[llGetAnimation]] when this matters.&lt;br /&gt;
*[[Internal_Animations#Viewer-generated_motions|Some motions are local to the viewer]] and cannot be detected by scripts.&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&lt;br /&gt;
This example is a bit involved but there aren&#039;t many applications for this function.&lt;br /&gt;
&amp;lt;lsl&amp;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;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions={{LSL DefineRow||[[llGetAgentInfo]]|Gets the avatar info}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAnimation]]|Get the avatar&#039;s base animation state}}&lt;br /&gt;
{{LSL DefineRow||[[llStartAnimation]]|Start an animation on an avatar}}&lt;br /&gt;
{{LSL DefineRow||[[llStopAnimation]]|Stop an animation playing on an avatar}}&lt;br /&gt;
|also_events&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes&lt;br /&gt;
|cat1=Avatar&lt;br /&gt;
|cat2=Animation&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Penn Euler</name></author>
	</entry>
</feed>