• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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