fadeSpeech: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Category:Arma 2: Operation Arrowhead: New Scripting Commands List" to "Category:Arma 2: Operation Arrowhead: New Scripting Commands") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.51 | |||
|game2= tkoh | |||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|eff= local | |eff= local | ||
|gr1= Sounds | |gr1= Sounds | ||
| | |descr= Changes the master speech volume smoothly within the given time. The default volume is 1.0. Some of the sounds that play through speech channel are: | ||
* [[Arma 3: Difficulty Settings| Tactical Ping]] sound | |||
* [[playSound]] when ''isSpeech'' argument is [[true]] | |||
* [[say3D]] when ''isSpeech'' argument is [[true]] | |||
| time '''fadeSpeech''' volume | |s1= time '''fadeSpeech''' volume | ||
|p1= time: [[Number]] - | |p1= time: [[Number]] - Fade interval in seconds | ||
|p2= volume: [[Number]] - | |p2= volume: [[Number]] - Speech volume range 0 to 2 | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>5 [[fadeSpeech]] 0.1;</code> | |x1= <code>5 [[fadeSpeech]] 0.1;</code> | ||
Line 22: | Line 34: | ||
|seealso= [[speechVolume]], [[fadeRadio]], [[fadeSound]], [[fadeMusic]], [[fadeEnvironment]], [[environmentVolume]], [[soundVolume]], [[musicVolume]], [[radioVolume]] | |seealso= [[speechVolume]], [[fadeRadio]], [[fadeSound]], [[fadeMusic]], [[fadeEnvironment]], [[environmentVolume]], [[soundVolume]], [[musicVolume]], [[radioVolume]] | ||
}} | }} | ||
Revision as of 11:04, 23 March 2021
Description
- Description:
- Changes the master speech volume smoothly within the given time. The default volume is 1.0. Some of the sounds that play through speech channel are:
- Tactical Ping sound
- playSound when isSpeech argument is true
- say3D when isSpeech argument is true
- Groups:
- Sounds
Syntax
- Syntax:
- time fadeSpeech volume
- Parameters:
- time: Number - Fade interval in seconds
- volume: Number - Speech volume range 0 to 2
- Return Value:
- Nothing
Examples
- Example 1:
5 fadeSpeech 0.1;
Additional Information
- See also:
- speechVolumefadeRadiofadeSoundfadeMusicfadeEnvironmentenvironmentVolumesoundVolumemusicVolumeradioVolume
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note