Anim notify don't replicate
Hi guys , so I'm spawning a weapon and attaching it to the players back , that part works fine . The problem is when I try to play an animation and a when the animation is close to done playing , I call an anim notify that detach the weapon and destroy it , and spawn the weapon and attach it to the player's hand , what happens whan I'm on the client is that the anim notify is called but the weapon is not destroyed and it still shows on the player's back but when I look at the server both the server and the player's weapons are destroyed .
But when I detach the weapon and destroy it not using an anim notify but by pressing a button it works fine . knowing this is how I play the animation ( the player presses a button it calls an event ( witch is replicated to run on server ) the event sets an anim montage to the animation I want to play , and then sets a boolean replicated(repNotify) to the revers of it is so the value always change and plays the animation on the boolean repNotify . And like I said the animation plays fine both on the client and on the server , the animNotify is the problem . So is the problem is with the way I play the animation ? , or with the way I use animNotify ? , or with both ?
And thank you
asked May 06 '19 at 06:47 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here