Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 07-17-2004, 07:56 AM   #1 (permalink)
BattleForums Newbie
 
Join Date: Jul 2004
Posts: 1
Icon5 Problem Using Imported Sounds

I downloaded and imported .wav files into my map of sound effects such as a shotgun, sniper rifle, etc. to use as sounds in place of the normal unit attack sounds. It worked great testing it. I made a trigger kind of like this: Event-(Unit is attacked) Condition-(unit type of (attacking unit)) equal to (sniper) Action-(Play Music Theme (war3imported\snipergun.wav)) or whatever the file name of the sound is. This worked but the sounds could be heard across the entire map by all players. I noticed the only way to set a cutoff distance was for sound type variables...so i made a sound variable and as a map initialization i played the .wav file and did Set Variable (FX_Sniper) = last played sound. I replaced the Play Music Theme action in the trigger written above with Play sound (FX_Sniper) but it doesnt work..i tried everything. Anyone know how to get this to work?
Orracle922 is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 07-18-2004, 06:10 AM   #2 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
You never mentioned what happened, besides 'it doesnt work', after changing to sound variables

and also, please copy n paste your trig here... I find looking at the trigger alot easier to fix then the explanation of someone.
Darimus is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« morph trigger help | Need help with sky! »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 05:42 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0