Do I make so that On Point Damage Plays Animation For Client?

Basically, my on point damage applies damage as desired. However, the animation of the character getting hit just doesn’t play on the client. It does on the server. Any solutions? Thanks

I used montages to set up the animations by the way.

Hi, those damage events will only execute on the server. If you want to play an animation on a client when damage happens, then you need to replicate that to the client (repnotify/RunOnOwningClient/Multicast).

Hey Trichiliocosmos,

Could you share a picture of your bp so we can see what you are doing?

Basically I am trying to replicate a certain animation for both the server and the client when damage is applied.

Thanks. Which one of the ones you mentioned should I use? I tried to copy and paste all my code from the server only (point damage), except the point damage event, and paste it onto a multicast custom event but that didn’t work.

Multicast should work fine (will execute on the server and all clients). If you want to use any variables there (like the damage causer like you’re doing in your image below), then send those through the multicast as well.

Otherwise could you show a picture of your bp when using the multicast?

Here it is. I feel like something has to do with the fact that I can’t plug in certain nodes that would otherwise exist in PointDamage.
EDIT: I did plug in the pins into the custom event. However, I don’t think that made any difference.

Ok, then

(-) make sure the multicast executes on all clients (e. g. via a print node)
(-) make sure that all the values are what you expect them to be (the values you get out of the multicast and also things like “GetActorEyesViewpoint” since some things may not give you the same result on a client vs server since some things like other controllers do not exist on clients)

So basically go step by step via prints/debug and see where the difference is between running it on server and client

Will do that. Thanks