|
Stephen Yumako
Registered User
Join date: 6 Oct 2007
Posts: 4
|
10-28-2007 08:35
Hi everyone! I need to write a script, that kan overwrite the default walking animation, and instead use another animation with a lower priority. (the other animation was uploaded with a priority of 0, and I can't get a new animation) my question is, is this at all posible, and if it is, how should I go by about it? (as I now idea where and how to start on this one) thx for the help in advance  -Stephen Yumako
|
|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
10-29-2007 08:51
heyas;
i dont think so.
unless you run a short timer event and keep constantly stopping the walk animation and starting your animation. which would no doubt be choppy and/or suck in general.
_____________________
Why Johnny Can't Rotate: http://forums.secondlife.com/showthread.php?t=94705
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
10-29-2007 10:03
It is posible, u just stop the default walking anim and then start your own anim u can find the name of the default walking anim in the wiki
|
|
Stephen Yumako
Registered User
Join date: 6 Oct 2007
Posts: 4
|
10-30-2007 16:21
okey, how do I do that? I've tried useing llStopAnimation("walk"  , llStopAnimation("run"  and llStopAnimation("stride"  , but the avatar still walks with default, instead of using the right animation.
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
10-30-2007 16:52
Did you request animation permissions first, and then make sure you got those permissions? Then, after stopping the default animations, did you start your own? I think you'll have to do this stop/start on a timer, or on a keypress, since the default walk will be started every time the avatar switches from standing to walking, so the fact that you stopped the default walk some time ago won't matter any more, you'll have to stop it again.
You're basically trying to write a very simple animation overrider (AO). I'm sure there are some sample scripts around. You could pick up a WetIkon, or a ZHAO, and look at it if you want (that's an AO I wrote which is based on the WetIkon, check my in-world profile for a landmark), but that script is way overkill for what you're trying to do, and I think it'll obscure the basics of what you need because it's got so much other stuff in it that's unnecessary for your application.
|