Jump to content

Animation activation script


You are about to reply to a thread that has been inactive for 1673 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

 Ive rigged my jaw to the mskull bone and I know for a fact that it does work but I don`t know the script for activating an uploaded animation.

I understand that a script cannot affect joints, but instead acts upon uploaded anim files created outside of the game. I was wondering however which command in the LSL library can be used to link these files together to create the animation? I have some scripting and coding knowlege and just need to see an example of one of these scripts in action then i can build my own no problem.

Thanks in advance. EWxciting times!

Link to post
Share on other sites

The script needs to request PERMISSION_TRIGGER_ANIMATION, using llRequestPermissions.    If the script is contained witing something you are wearing, it will be granted silently and automatically, but you still need to ask for it.

You can then trigger the animation wherever you want, whether in the run_time_permissions event  or elsewhere, using llStartAnimation.

You'll find short examples in the wiki.

However, if you want use the animation to replace the ordinary lipsynch animations when you are chatting in voice, I'm afraid there's no way to do that, or not as far as I know.    It may be possible with Bento but I've not heard anything about that.

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 1673 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...