I need help with a trigger...

Status
Not open for further replies.
Level 2
Joined
Jul 3, 2008
Messages
16
I want to play a sound everytime a unit attacks.
Namley, the Marine model. The sound can play over the Marine's
original fireing sound, i don't mind.
Any help will be much appreciated.
 
  • Play Sound On Attack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to <<PUT UNIT THAT IS ATTACKING HERE>>
    • Actions
      • Sound - Play RiflemanPissed5 <gen> at 100.00% volume, located at (Position of (Attacking unit)) with Z offset 0.00
For the sound, you will have to go to sound editor, select a sound, right click it, and use as sound. Then you can make it play it on the trigger. I tested the trigger and it works properly. Holla if you have any questions.
 
Setting the sound volume to 100% is not the best thing to do as it results in you hearing the sound everywhere on the map regardless of what position the sound is played at. Around 60% should do fine.
 
Last edited:
Status
Not open for further replies.
Back
Top