Jump to content

Recommended Posts

Hello,

My character currently has the ability to pull up a hood they wear (done by changing builds), this works fine - but I'd like to have the animation that plays when you equip a head item play also. Is there a way to do this similar to how Wolfgang's works?

Thanks

Edited by Scrumch
1 hour ago, Scrumch said:

My character currently has the ability to pull up a hood they wear (done by changing builds), this works fine - but I'd like to have the animation that plays when you equip a head item play also. Is there a way to do this similar to how Wolfgang's works?

A few ways to go about doing it, and here's a couple.

Look at how the SGwilson stategraph handles the equip event, and see how the inventory component fires off the event.

Be it directly forcing the client to play the animation itself, or firing off the event and letting the stategraph handle things "gracefully" like it would under other normal in-game situations.

I'd probably lean towards firing off the event and letting stategraph handle it with its eventlistener.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...