Forum Jump :

Author Message


Posts: 4
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-01-12 03:18        
     
Hi guys, I'm sorry if this is a repeat post. I searched, and all the threads i found contained broken links to answers (I hope).

This is what I'm trying to do:
I want to have a sound play from a specific in-game source. For example to have a call to prayer play from a loud speaker. I don't want this to just be an event, I want it to work the same way gunshots do, where you can only hear it in ear-shot, and the further away you are, the quieter it gets. Does that make sense?

Also, I don't knw anything about scripting aside from youtube tutorials, so please use simple words haha. I'm new and a little overwhelmed.


Author Message


Posts: 21
Rank:


Level: Member

Country: it
Location: Italia
Occupation: ArmA Fan
Age: 31
In-game name: SFOD-D_SNAKEBITE

 
#2 Posted at 2015-01-12 12:16        
     
Hi Merrick. *DRINK*
I have the same problem of you. However can u try to do this with a trigger? I doing it for my mission, that in a specific area, that sound is repeated.


Advertisement


Author Message


Posts: 4
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2015-01-13 06:03        
     
Sort of. I have a sound set from a waypoint of an AI at this time, but it's deafeningly loud, and is not repeated. All I want to happen is for a call to prayer to be played from a specific location, loud enough to be heard throughout the town. Currently the sound is so loud it can be heard from 4km away. It's also not a custom sound file. Does anyone have a way around this? Thanks!


Author Message


Posts: 21
Rank:


Level: Member

Country: it
Location: Italia
Occupation: ArmA Fan
Age: 31
In-game name: SFOD-D_SNAKEBITE

 
#4 Posted at 2015-01-13 17:31        
     
Oh, in that case I hope someone reply, cause I need it too. Good luck m8!


Author Message


Posts: 146
Rank:


Level: Member

Country: my
Location: Sabah
Occupation: No Occupations
Age: 17
In-game name: Phantom_Wolf

 
#5 Posted at 2015-01-13 21:18        
     
You could try playSound3D, but well it didn't work for me, but fear not, there's an alternative.

I'm assuming you know how to make cfgSounds in description.ext.

_unit say3D "SOUND";

Simple!

Volume can be modified in the description.ext.

I have no signature.