Author Topic: Animated item help  (Read 453 times)

Ok Seiber and I are working on something and it has an animation. What I do not know what do do is when you click and hold it plays this animation instead of the spear animation. Can anyone help?

I think to do this with the spear, you have to make an edit to the spear's onPreFire function.

Do you mean you want to change the animation a player makes before firing a spear? Or just change the spear animation completely?

I think to do this with the spear, you have to make an edit to the spear's onPreFire function.

Do you mean you want to change the animation a player makes before firing a spear? Or just change the spear animation completely?
No like I took my model and it has a hand attached to it and it animates how I want just I do not know how to make it work.

No like I took my model and it has a hand attached to it and it animates how I want just I do not know how to make it work.
so are you changing what the spear throwing animation is?

so are you changing what the spear throwing animation is?
No all I am doing is something like the spear but instead if it putting your hand in the air it does something else. But I don't need to change what it does because I made it animated and I do not know how to make it work. If you had skype I could show you.

No all I am doing is something like the spear but instead if it putting your hand in the air it does something else. But I don't need to change what it does because I made it animated and I do not know how to make it work. If you had skype I could show you.
Okay.

So just to clarify, are you modeling it yourself?

If so, just add another sequence and name it something else. In the weapon's preFire function, make it play that sequence instead of the spear throwing one.

You don't need the whole onScript thing, you just need...
Code: [Select]
stateSequence[x] = "x";