1. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  2. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  3. We have a new contest going on right now! Join the 11th Music Contest! You are to make a Cinematic modern sound-track for this contest, so come and compete with other people for fun.
    Dismiss Notice

Play music for a single player

Discussion in 'World Editor Help Zone' started by Slender_Dorgado, Jan 12, 2019.

  1. Slender_Dorgado

    Slender_Dorgado

    Joined:
    Jun 29, 2014
    Messages:
    22
    Resources:
    0
    Resources:
    0
    Is there any way to make an imported music theme to be played and heard for a single player?
     
  2. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,241
    Resources:
    1
    Maps:
    1
    Resources:
    1
    • Set Player= <player you want>
    • Custom script: if GetLocalPlayer() == udg_Player then
    • Sound - Play <music theme>
    • Custom script: endif
     
    Last edited: Jan 12, 2019
  3. Slender_Dorgado

    Slender_Dorgado

    Joined:
    Jun 29, 2014
    Messages:
    22
    Resources:
    0
    Resources:
    0
    didn't worked D: upload_2019-1-12_1-6-40.png upload_2019-1-12_1-7-19.png
     
  4. Sir Moriarty

    Sir Moriarty

    Joined:
    Jun 13, 2016
    Messages:
    248
    Resources:
    2
    Spells:
    1
    Tutorials:
    1
    Resources:
    2
  5. Slender_Dorgado

    Slender_Dorgado

    Joined:
    Jun 29, 2014
    Messages:
    22
    Resources:
    0
    Resources:
    0
    it worked, thanks!!
     
  6. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    2,241
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Oops :p my mistake. Yeah, it should be "if" rather than "If". Sorry about that.
    @Sir Moriarty Thanks for correcting that.