Okay, sorry! I understood that you wanted to bypass the built-in animation.
In reality you prefer internal animations but it does not work with your script.
But it works here, so I suggest you try with exactly the same elements:
- Rez a new prim (name it "Built-In Animation Test" if you want)
- In the contents of the prim, create a new script and copy the one I put in
attachment, compile it)
- Sit on the prim and your avatar should sit and clap
- Secondarily you must have in local chat the same texts as the one placed as
an attachment.
If this does not work as expected, then you must look for what is wrong with
your configuration.
As server I used
Version: OpenSim 0.7.3 Release (interface version 7)
and
Version: OpenSim 0.7.4 Master_18206_0007711_010312 (interface version 7)
As client I used : Imprudence 1.3.2 (May 17 2011 17:47:23)
GCI
----- Original Message -----
From: satguru p srivastava
Sent: Tuesday, March 06, 2012 2:48 AM
Subject: Re: [Opensim-users] NPC and internal Animations
...Also I am assuming that user loaded animations are not as efficient as
internal ones. Right?
...I am still curious why the internal animations do not play...
[12:30] Garmin Kawaguichi: ===============================
[12:30] Script saved
[12:30] Built-In Animation Test ready!
[12:30] Built-In Animation Test: Changed = 32
[12:30] Built-In Animation Test: Agent = 1795a690-6008-4372-abb9-fdce1a9cf510
[12:30] Built-In Animation Test: Garmin Kawaguichi requests to sit.
[12:30] Built-In Animation Test: Garmin Kawaguichi can sit.
[12:30] Built-In Animation Test: Garmin Kawaguichi is sat.
[12:30] Built-In Animation Test: Changed = 32
[12:30] Built-In Animation Test: Agent = 00000000-0000-0000-0000-000000000000
[12:30] Built-In Animation Test: Agent stands up.
[12:31] Garmin Kawaguichi: ===========================
//lsl
string sAnimSit = "clap";
key kAgent;
default
{
state_entry()
{
llSitTarget(<0.0, 0.0, 0.25>, ZERO_ROTATION);
llOwnerSay("/me ready!");
}
changed(integer iChange)
{
llOwnerSay("Changed = " + (string)iChange);
if (iChange & CHANGED_LINK)
{
kAgent = llAvatarOnSitTarget();
llOwnerSay("Agent = " + (string)kAgent);
if (kAgent != "00000000-0000-0000-0000-000000000000")
{
llOwnerSay(llKey2Name(kAgent) + " requests to sit.");
llRequestPermissions(kAgent, PERMISSION_TRIGGER_ANIMATION);
}
else
{
llOwnerSay("Agent stands up.");
llStopAnimation(sAnimSit);
}
}
}
run_time_permissions(integer iPerm)
{
if (iPerm)
{
llOwnerSay(llKey2Name(kAgent) + " can sit.");
llStartAnimation(sAnimSit);
llOwnerSay(llKey2Name(kAgent) + " is sat.");
}
}
}
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users