play sound on client side by event on server side

hi,

how can i play a sound2D on client side when an event happen on the server side?

thanks in advance,

Depending on the blueprint, you can create an event dispatcher on a blueprint that you expect to invoke the sound with replication set to “Run on Owning Client” (or Multicast if you want all clients to hear it). Then plug your sound code into that dispatcher. The last step would be call the dispatcher via a reference in the server’s event. Without seeing some code, I can’t recommend anything further.