|
Boris Oconner
Registered User
Join date: 21 Jul 2006
Posts: 16
|
07-29-2007 01:43
I have created a simple walk override script that works fine.
if animname == walking - override with another anim... simple
i am trying to use the same script to override 2 of the default stand poses - "stand_2" and "stand_3" which are no good because a hand is buried deep inside the hip.
it is not working at the moment and i suspect it has something to with there being 5 different stand animations. Can anyone enlighten me on this?
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
07-29-2007 08:58
Reading between the lines: if the AO script is comparing with individual animations, it is mighty laggy. To do that effectively, it must be calling llGetAnimationList and then walking through the returned list, several times a second. I think it might be better to test the animation *state* singletons returned by llGetAnimation or llGetAgentInfo. (The bitfield from llGetAgentInfo is faster to test, but not sure what return values are possible for a standing avatar--would need to test.)
|