Here are the lines of code:
llRequestPermissions(agent,PERMISSION_TRIGGER_ANIMATION|PERMISSION_TAKE_CONTROLS);
llStartAnimation("sit_ground"

I have a custom animation I want to use instead of sit_ground.
Sundi
These forums are CLOSED. Please visit the new forums HERE
Can't get some animations to work |
|
Sundi Metropolitan
Registered User
Join date: 14 Sep 2005
Posts: 24
|
11-06-2005 11:59
Hopefully, someone can answer this. I am working on a car and want to use a custom animation for the sit position. However, I can't figure out how to get it to work. Also, I found that some animations seem to work and others don't using the same code. for instance, sit_ground does not work while wave does.
Here are the lines of code: llRequestPermissions(agent,PERMISSION_TRIGGER_ANIMATION|PERMISSION_TAKE_CONTROLS); llStartAnimation("sit_ground" ![]() I have a custom animation I want to use instead of sit_ground. Sundi |
Torley Linden
Enlightenment!
![]() Join date: 15 Sep 2004
Posts: 16,530
|
11-06-2005 12:17
GOOD DAY TO YOU SUNDI
![]() Did you put the custom animation in the same object contents as the script? Then, it should be a matter of renaming "sit_ground" to "whatever_your_animation_is_called". _____________________
|
Sundi Metropolitan
Registered User
Join date: 14 Sep 2005
Posts: 24
|
Still not working
11-06-2005 16:46
That is the first thing I tried. But I tried it again and still nothing. Any other thoughts?
|
Seagel Neville
Far East User
![]() Join date: 2 Jan 2005
Posts: 1,476
|
11-07-2005 00:01
When you use llRequestPermissions, you need to put a run_time_permissions event. Refer to this sample script.
And talking of the simultaneous animations, I guess it is relevant to priority. Although you said, "sit_ground does not work while wave does", didn't it even sit at all? _____________________
![]() ![]() |
Sundi Metropolitan
Registered User
Join date: 14 Sep 2005
Posts: 24
|
Got it!
11-07-2005 06:00
After some experimentation I figgured out the problem. Aparently, the use of a sit target activates the "sit" animation. So I had to stop the "sit" and then the other animations work properly. The reason some animations worked with the "sit" animation (such as "wave"
![]() Thanks to everyone who offered advice. I appreciate how ppl are so willing to help here. Sundi |