Synchronizing a sound?

Posted by jamop
Hi, I was wondering if it is possible for a sound to be played on all clients. What I currently have is a shotgun sound that is played when the player presses the left mouse button, but this sound is not played on other clients. Is it possible to synchronise this?

Replies (2)

Last message on 30 Jun 2017

Size43 (Administrator) on 30 Jun 2017, 11:12:53
Also check out P2P messages, you could send a p2p message (which is not a chat message!) to all other players to indicate that they should play a sound. This should use less resources than using instance sync.
ziad87 on 20 Jun 2017, 18:59:09
maybe you could summon a object that plays the sound, then sync that with gms_instance_sync