• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Playing a unit's "Attack Weapon Sound" with trigger

Status
Not open for further replies.
Level 3
Joined
May 17, 2019
Messages
45
Hey,

I need to set up a trigger that will play the weapon sound of attack #1 for a unit.

It is not possible with triggers, but maybe with GUI/JASS ?

Anyone able to help me ?

Thanks !
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
A Unit's weapon sounds are set in the Object Editor. For example, a Footman's weapon sound is Metal Medium Slice. If we wanted to play that sound with triggers then simply find it in the sound editor, it should be under "Sound -> Units -> Combat", and choose whatever variation you want and right click it and select Use as Sound.

Then you can play the sound with triggers.
  • Sound - Play MetalMediumSliceFlesh1 at 100.00% volume, attached to (Triggering unit)
Also, when it comes to the sound variations, you'll notice names like MetalMediumSliceFlesh1. That is the sound the Footman would make if it hit an enemy with the Armor Type of Flesh-which is another thing you set in the Object Editor.
 
Last edited:
Status
Not open for further replies.
Top