Hello
Need some help understanding on how to play a sound for multiple players when entering a level
Have it set up on the level BP
Hello
Need some help understanding on how to play a sound for multiple players when entering a level
Have it set up on the level BP
You don’t need to replicate anything if you just want it to play as soon as the level starts simply use BeginPlay
If it happens during the game then you could add the Multicast RPC in GameState and have the server call it from GameMode.
OnSetMatchState is a good place to listen for match changes like
WaitingToStart
InProgress
WaitingPostMatch
It is important that GameMode calls the Multicast RPC on GameState.
GameMode only exist on the server so it can’t do any replication on it’s own but it can call an Event on GameState which can always be used for Multicast RPC’s
The Level Blueprint can’t do any Replication
Thanks , I already had the play sound in the BeginPlay , for some was not working , simply move the play sound to be the very first node in the BeginPlay and all good