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

Gun Sounds

Status
Not open for further replies.
Level 2
Joined
Jul 19, 2007
Messages
12
I need help with a trigger. I want a gun sound (RiflemanAttack1.wav) to be played every time my hero attacks......but how???:spell_breaker:
 
Level 14
Joined
Jan 15, 2007
Messages
349
That should work.

  • SoundThingy
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to Gunner
      • // Or add a other condition, this is just an example!
    • Actions
      • Sound - Stop RiflemanAttack1 <gen> Immediately
      • Sound - Play RiflemanAttack1 <gen> at 100.00% volume, attached to (Triggering unit)
And remember the sound should be a 3D sound which you have created before in the Sound Editor.
 
Status
Not open for further replies.
Top