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

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