Birdskull Posted May 17, 2021 Share Posted May 17, 2021 (edited) I borrowed the solution from this thread here: and it works just fine for the most part, but the animations only play for other players, not the one controlling the relevant character. Can anyone tell me why this is? Edited June 8, 2021 by Birdskull Link to comment Share on other sites More sharing options...
Birdskull Posted May 23, 2021 Author Share Posted May 23, 2021 Anyone? Link to comment Share on other sites More sharing options...
Monti18 Posted May 24, 2021 Share Posted May 24, 2021 Have you tried adding this stategraphstate for wilson_client? 1 1 Link to comment Share on other sites More sharing options...
Birdskull Posted June 7, 2021 Author Share Posted June 7, 2021 Thank you. That does seem to be what I'm missing, but now I'm having a problem of I can get the actions to occur OR I can have the animation play, but not both. Animation only plays if I also change the AddStategraphState to "wilson_client" but that doesn't work with the actions. Including AddStategraphActionHandler for both "wilson" and "wilson_client" results in neither working. Animation plays: Action occurs: Nothing happens: modmain.lua Link to comment Share on other sites More sharing options...
Monti18 Posted June 7, 2021 Share Posted June 7, 2021 Try adding AddStategraphState for wilson and wilson_client, and add to wilson client in the onenter function inst:PerformPreviewBufferedAction(). Normally you need to add a stategraphstate for wilson and wilson_client and a stategraphactionhandler for wilson and wilson_client. 1 1 Link to comment Share on other sites More sharing options...
Birdskull Posted June 8, 2021 Author Share Posted June 8, 2021 19 hours ago, Monti18 said: Try adding AddStategraphState for wilson and wilson_client, and add to wilson client in the onenter function inst:PerformPreviewBufferedAction(). Normally you need to add a stategraphstate for wilson and wilson_client and a stategraphactionhandler for wilson and wilson_client. That did it!! Thank you so much. Link to comment 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