|
Lexi Foley
Registered User
Join date: 1 Mar 2006
Posts: 43
|
09-26-2006 17:50
I was looking for an animation and in the normal asset annimations there was one i needed so im rather lazy then tyerd, i thought ow well assets are for everybody,, so went back to the script,,, now,, when i define the key
key asset="c1bc7f36-3ba0-d844-f93c-93be945d644f"; //asset key, angry finger wave anni.
get mij premisions and stuff and whit in permisions
llStartAnimation(asset);
it gives me the message : Coundnt find annimation c1bc7f36-3ba0-d844-f93c-93be945d644f
i also tryed to llStartAnnimation((string)asset); but whit the same result,,,
in other words how to use the asset keys???????
is it something im doinging wrong, or is it a know bug,, (coulnd not find it)
Greetings Lexi Foley
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
09-26-2006 22:57
From: Lexi Foley I was looking for an animation and in the normal asset annimations there was one i needed so im rather lazy then tyerd, i thought ow well assets are for everybody,, so went back to the script,,, now,, when i define the key key asset="c1bc7f36-3ba0-d844-f93c-93be945d644f"; //asset key, angry finger wave anni. get mij premisions and stuff and whit in permisions llStartAnimation(asset); it gives me the message : Coundnt find annimation c1bc7f36-3ba0-d844-f93c-93be945d644f i also tryed to llStartAnnimation((string)asset); but whit the same result,,, in other words how to use the asset keys??????? is it something im doinging wrong, or is it a know bug,, (coulnd not find it) Greetings Lexi Foley You can reference textures and sounds by thier UUID, but you can not reference animations by UUID. Animations have to be present in the prim's inventory to be used.
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
09-27-2006 01:11
And there is a reason for this. llGetAnimationList returns a key of all the animations playing on.
So... jump on an animation vendor, grab the keys, llStartAnimation by key and you never buy an anim again. Hence, although it used to work, it was quickly spiked to stop this particular abuse.
|
|
Lexi Foley
Registered User
Join date: 1 Mar 2006
Posts: 43
|
Thx!!
09-27-2006 09:18
Thx for the clear aswers so there is nothing more to do for me to put in a one animation!! Thx for the reply!! Have fun!!  Greetings Lexi Foley
|
|
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
|
09-28-2006 15:57
All the built in animations can be called by name without needing them in the contents. Just use the built in name as such: llStartAnimation("angry_fingerwag"  ;
|
|
Lexi Foley
Registered User
Join date: 1 Mar 2006
Posts: 43
|
Okeee!!! thx!
09-29-2006 03:57
That is what i wanted to know!!! I was Confused too do whit the assets then!!!! They not there for nothing  ) Very Thx!! 
|