• 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 do u Select Music

Status
Not open for further replies.
Level 3
Joined
Sep 17, 2007
Messages
25
like the title says i want to know how to make a music selection
example 1: when a unit steps on a circle of power, there will be a pop-up menu saying what music, the person picks the music and it plays
OR
example 2: there will be a speacial shop with pressible buttons and it will play the music if u press the button

Either way works fine, i mean people dosent always want to hear the same music over and over and over again right :con:
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
simple give abilities to the shop or units to produce or sell if you want to spend money for music

for spells
unit starts effect of ability
if ability being cast is blabla
play music blabla
(choose abilities with no target like warstomp 0 cooldown 0 mana targets=none)

for produce
unit finishes training unit
trained unit is blabla
play music blabla
remove trained unit

for sell
unit sells unit
if sold unit is blabla
play music blabla
remove sold unit

If you want to make a song only hear by one player like play music for Player1 you must use WEU I guess

With variables:
if you select a music in sound editor and rightclick use as music you will be able to see it when adding a music

AND

If you want that circle of power thing it will be harder for you
you need 3 triggers and variables for dialog buttons

1-Map init
Set music[1] = blabla1
set music[2] = blabla 2
add button to dialog music[1] to musicdialog
add button to dialog music[2] to musicdialog

2-unit enters region music
show dialog musicdialog

3- dialog button clicked
if clicked button is music[1] play blabla1
if clicked button is music[2] play blabla2
 
Status
Not open for further replies.
Top