Jump to content

Animation of custom action not working with caves


Recommended Posts

Greetings, 

As stated in the title, the animation of an action that I am adding in a mod does not work with caves.

AddStategraphActionHandler("wilson", ActionHandler(MY_ACTION, "dolongaction"))

While the character is performing the action it is just standing still for the duration of "dolongaction" and can't be interrupted (e.g. by moving).

I've triple-checked everything and this is the only issue.

Any ideas?

Link to comment
Share on other sites

You need to add an event handler to the wilson_client stategraph:

AddStategraphActionHandler("wilson_client", ActionHandler(ACTION, "dolongaction"))

All client and host with caves use this stategraph for player characters.

Link to comment
Share on other sites

8 hours ago, cr4shmaster said:

I've triple-checked everything and this is the only issue.

Well, obviously not everything.

1 hour ago, ksaab said:

You need to add an event handler to the wilson_client stategraph.

Thanks for the answer, much appreciated!

Link to comment
Share on other sites

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
 Share

×
  • Create New...