• 🏆 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!

Sound Trigger Help (controllable through chat commands)

Status
Not open for further replies.
Level 4
Joined
Jun 6, 2008
Messages
46
Hey guys, i want to add a sound trigger so it would play music. Now, i wanted to have more then 1 song play so i need help on how to make it a command. Also if someone could tell me where to put the MP3 file once i import it if it isn't to much trouble. Thanks!

(This is no JassNewGen By the way.)
 
Level 28
Joined
Jun 4, 2007
Messages
1,479
Command Trigger:
Event:
- Player enters chat string (-music-dogshitinmygarden) <--Just and example
Condition:
- ????
Action:
- Music, play Dogshit in my Garden.mp3 (still just an example)

Once you imported the song you'll need to look it up in the Sound Editor. Right click it and select "Use as Music" in the pop-up menu. Then it will be visible among the variables in the trigger editor but only where you select the song when creating the action.
 
Status
Not open for further replies.
Top