Music won't be heard by other players

Status
Not open for further replies.
Level 6
Joined
Feb 5, 2012
Messages
1,685
Ok heres the trigger


The Trigger that adds the event to the music trigger

  • Command Init
    • Events
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Command MS <gen> the event (Player - (Picked player) types a chat message containing -ms as An exact match)
          • Trigger - Add to Command PI <gen> the event (Player - (Picked player) types a chat message containing -pi as An exact match)
          • Trigger - Add to Command Clear <gen> the event (Player - (Picked player) types a chat message containing -clear as An exact match)
          • Trigger - Add to Command Music 1 <gen> the event (Player - (Picked player) types a chat message containing -music 1 as An exact match)
          • Trigger - Add to Command Music 2 <gen> the event (Player - (Picked player) types a chat message containing -music 2 as An exact match)
          • Trigger - Add to Command Music Off <gen> the event (Player - (Picked player) types a chat message containing -music off as An exact match)
Trigger for -music 1

  • Command Music 1
    • Events
    • Conditions
    • Actions
      • Sound - Stop the currently playing music theme
      • Sound - Play Credits <gen>
      • Sound - Set music volume to 100.00%
why it is not heard by other players?
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
You use GetLocalPlayer if you want to differ the code on different clients, not the reverse. Since you have no local block here, it is executed for everyone.

The players the music does not work for shall check their game options in main menu and if they hear other music throughout the game.
 
Status
Not open for further replies.
Top