cr4shmaster Posted April 17, 2018 Share Posted April 17, 2018 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 https://forums.kleientertainment.com/forums/topic/89882-animation-of-custom-action-not-working-with-caves/ Share on other sites More sharing options...
ksaab Posted April 17, 2018 Share Posted April 17, 2018 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 https://forums.kleientertainment.com/forums/topic/89882-animation-of-custom-action-not-working-with-caves/#findComment-1026916 Share on other sites More sharing options...
cr4shmaster Posted April 17, 2018 Author Share Posted April 17, 2018 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 https://forums.kleientertainment.com/forums/topic/89882-animation-of-custom-action-not-working-with-caves/#findComment-1026933 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now