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

Ambient Sound

Status
Not open for further replies.
Level 30
Joined
Nov 29, 2012
Messages
6,637
To stop music do Cromox's suggestion and when adding music, be careful you might confuse Music with Sounds so here is a bit explanation:

Sound: Plays your sound and when it ends, it will not loop anymore. To play a sound:
  • Sound - Play >>Your sound here<<
Music: Plays your music and it will loop making it endless and also replaces the BGM being played by the game, only by triggers it can be stopped. To play a music, same with the format of Music but dont confuse them for they are DIFFERENT TRIGGERS:
  • Sound - Play >>Your music here<<
 
Level 20
Joined
Apr 14, 2012
Messages
2,901
To stop music do Cromox's suggestion and when adding music, be careful you might confuse Music with Sounds so here is a bit explanation:

Sound: Plays your sound and when it ends, it will not loop anymore. To play a sound:
  • Sound - Play >>Your sound here<<
Music: Plays your music and it will loop making it endless and also replaces the BGM being played by the game, only by triggers it can be stopped. To play a music, same with the format of Music but dont confuse them for they are DIFFERENT TRIGGERS:
  • Sound - Play >>Your music here<<

Actually you could loop sounds using this method:
  • For each (Integer A) from 1 to 9999, do (Actions)
    • Loop - Actions
      • Sound - Play (Last played sound)
      • Wait for (Last played sound) to be 0.00 seconds from finished playing
 
Level 10
Joined
Jan 20, 2011
Messages
492
Another way I found out just before how to loop sound without triggers, is to go to the sound editor and double click the sound and it will come up with a menu. Find automatically loop sound and tick the box. Now that sound loops whenever you use the trigger Sound - Play Sound

I know you resolved your issue, but thought it was worth mentioning
 
Level 20
Joined
Apr 14, 2012
Messages
2,901
Another way I found out just before how to loop sound without triggers, is to go to the sound editor and double click the sound and it will come up with a menu. Find automatically loop sound and tick the box. Now that sound loops whenever you use the trigger Sound - Play Sound

I know you resolved your issue, but thought it was worth mentioning

That was definitely worth mentioning... I for one did not know that until now... thanks!
 
Status
Not open for further replies.
Top