Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llStopAnimation( llGetAnimation(userID) );

Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
10-31-2004 01:41
Dose any one know why "llStopAnimation( llGetAnimation(userID) );" would cause the error message "Couldn't find animation (result of llGetAnimation) ".
Al Bravo
Retired
Join date: 29 Jun 2004
Posts: 373
10-31-2004 01:46
You want llGetAnimationList(). But you will have to parse the list it returns.
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
10-31-2004 01:50
Yeah llGetAnimation is the dumbest function ever, it returns a description of the animation rather than its real name or key. Wonder why the heck LL added it in the first place.
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
10-31-2004 02:11
I thought it returned the name of the built in animations. The animations before players could make their own. Aka the animations that do not have keys. Such as "sit".
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
10-31-2004 03:46
not like i'm llGetAnimation()'s best friend but it has some uses like for detecting the type of built in animation you're doing so you can override it.

if you want a dumb function what about llCloud() or llDetectedGrab()? heck, llAtan2 is pretty dumb if you really look at it. the wiki says llAtan2(float y, float x) "returns the arctangent in radians of y/x". who would want that? i want a function that keeps the actangent in radians of y/x the hell away from me.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
10-31-2004 13:25
From: Zuzi Martinez
if you want a dumb function what about llCloud() or llDetectedGrab()? heck, llAtan2 is pretty dumb if you really look at it. the wiki says llAtan2(float y, float x) "returns the arctangent in radians of y/x". who would want that? i want a function that keeps the actangent in radians of y/x the hell away from me.


there are precision issues with taking arctangents so computer scientists figured out a better way of taking the arc tangent of two numbers being divided. Also llAtan2 has a different range of answers then llAtan (that are equivilent).

llGetAnimation() is a stupid function, it gives data that is generaly useless.

llDetectedGrab() is useful for building slider buttons like what can be found on xyobject.

llCloud i have to give you.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
10-31-2004 16:42
llCloud would be useful in a user created weather system, or a user created cloud map, but that's about it.
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
10-31-2004 18:00
i was mostly being silly. maybe i don't understand llGetAnimation() all that good. any idea how you'd make an animation overrider without it?