Jump to content

LiLiMonsta

Resident
  • Posts

    3
  • Joined

  • Last visited

Posts posted by LiLiMonsta

  1. Hello there, 

    I have a Quadruped Avatar that i'm trying to upload. however I've been having an issue with the arms of the skeleton. 

    This is what I've exported out of Maya : https://gyazo.com/b5edb33ff64c08c86bf3a94423db65d7

    This is the upload preview: https://gyazo.com/6b0914e861d68be8eb2064355d83c073

    As you can see for some reason the arms have folded under the body.

    Inworld with the joints shown: https://gyazo.com/fe23c7201d84b437ac2f0a5ae7a1cedb

     

    If anyone has any ideas i'd greatly appreciate the help!

    ~ Li Li

  2. 1 hour ago, Wulfie Reanimator said:

    First question I would ask: is it really the only animation in llGetAnimationList?

    What kind of situation are you in where the avatar's only animation is one to open their mouth? Not sitting on furniture, not using internal animations, nothing?

    There are two animations - tho i dont call llGetAnimationList anywhere?

     

    Its for a gag - so its an attached item that opens the mouth when the locked state is called

    when the stopping function is called i’m trying to stop the looping animation

  3. I am completely stumped. 

    I have a looping bento animation to open the mouth - very simple

    I want to stop the animation

    Following the instructions here:http://wiki.secondlife.com/wiki/LlStopAnimation

    If the animation to be stopped is the only playing animation (as found via llGetAnimationList), it will continue to play to its end (if looped it will continue indefinitely)

    if you must stop a looped animation, playing a single frame non-looped one immediately after stopping it, at low priority, will clear the list.

     

    I created a single frame non loop animation (i have a couple of varients)

    However every single time it wont stop the looping animation after calling stop animation. 

     

     

     

    StoppingFunction()
    
    {    
    
        playing = FALSE;
        llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
    
    }
    
    
    
    state locked
    
    {
    
    state_entry()
    
    {
    
        playing=TRUE;
        llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
        llSetTimerEvent(60.0);
    
    }
    
    }
    
    run_time_permissions(integer perm)
        {
            
        if(perm && PERMISSION_TRIGGER_ANIMATION)
            {
                if(playing == TRUE)
                {
                 llStartAnimation(anim); 
                }
                else if ( playing == FALSE)
                {
                  llStopAnimation(anim);
                  llStartAnimation(stopanim);
                }
            }
        }
        
    timer()
        {
            llSetTimerEvent(0.0);
            state pending;
        }
    }
    
    state pending
    {
        state_entry()
        {
        state locked;   
        }
    }


     

     

     

     

×
×
  • Create New...