HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Make a unit talk?

08-30-2003, 06:27 PM#1
Navi
I just created a unit.
How do I make it say one of it's catch phrases?

I'm not sure if this is a sound question...
08-30-2003, 06:42 PM#2
Thunderroms
I dont really get what your trying to do... but first you have to import the sound in your map then you can use play sound to play it.
08-30-2003, 06:46 PM#3
Pesmerga
I think its impossible directly. It used to be so easy in W2
08-30-2003, 07:19 PM#4
jeffsu
If you use the sound editor module (tft) you can find all the "Catch phrases" in there. Then right click on it and "use it as a sound". Then, when you want it to play, use a trigger.

This will be heard by everyone though -- or you may be able to localize on that unit's head if the sound is a "3d sound".

Sorry I guess that wasn't much help.
08-30-2003, 07:33 PM#5
35263526
Pesmerga, I thought you couldn't use triggers in Warcraft 2.
08-30-2003, 07:34 PM#6
Navi
Actually jeffsu that led me exactly to the right place. Thanks!
Also thanks to Thunderroms to help me understand the scope of using sounds.

Much like a custom unit a sound needs to be added and then it can be used. As jeffsu said you do this by going to the sound editor and "adding" it. Checking the properties I notice that it's a 3d sound which means when I play it I have to give the sound a target source. This is all put together with a trigger:
Sound - Play PeasantYes2 <gen> at 100.00% volume, attached to (Last created unit)