• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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