• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How does the preset ''Music'' work?

Status
Not open for further replies.
Level 11
Joined
Sep 12, 2008
Messages
657
well.. its not really hard o.o

edit: very sorry, i misscliked and entered wrong forum >.>


  • Sound
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Sound[1] = HumanThemeSound
      • Set Sound[2] = OrcThemeSound
      • Set Sound[3] = UndeadThemeSound
      • Set Sound[4] = NightElfThemeSound
      • For each (Integer A) from 1 to (Number of players in (All players controlled by a User player)), do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Race of (Player((Integer A)))) Equal to Human
            • Then - Actions
              • Sound - Play Sound[1]
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Race of (Player((Integer A)))) Equal to Orc
                • Then - Actions
                  • Sound - Play Sound[2]
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Race of (Player((Integer A)))) Equal to Undead
                    • Then - Actions
                      • Sound - Play Sound[3]
                    • Else - Actions
                      • Sound - Play Sound[4]
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
No, I mean, each race got a couple of themes. But when I play ''Music'' (see screenshot), it will play themes of all races. I only want it to play themes of one race.
 

Attachments

  • Clipboard02.jpg
    Clipboard02.jpg
    46.5 KB · Views: 105
Status
Not open for further replies.
Top