fadeSpeech: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed link)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.50
 
|game2= tkoh
|version2= 1.00
 
|game3= arma3
|version3= 0.50
 
|eff= local
|eff= local
|1.51


|gr1= Sounds
|gr1= Sounds


| Causes a smooth change in the master speech volume. The change duration is given by time, the target volume by volume. The default volume is 1.0. Some of the sounds that play through speech channel are [[Arma 3: Difficulty Settings| Tactical Ping]] sounds, [[playSound]] when `isSpeech` argument is [[true]] and [[say3D]] when `isSpeech` argument is [[true]].
|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]] - fade interval in seconds
|p1= time: [[Number]] - fade interval in seconds


|p2= volume: [[Number]] - speech volume range 0 to 2. Maximum volume is 2. Default is 1.
|p2= volume: [[Number]] - speech volume range 0 to 2


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>5 [[fadeSpeech]] 0.1;</code>
|x1= <sqf>5 fadeSpeech 0.1;</sqf>


|seealso= [[speechVolume]], [[fadeRadio]], [[fadeSound]], [[fadeMusic]], [[fadeEnvironment]], [[environmentVolume]], [[soundVolume]], [[musicVolume]], [[radioVolume]]
|seealso= [[speechVolume]] [[fadeRadio]] [[fadeSound]] [[fadeMusic]] [[fadeEnvironment]] [[environmentVolume]] [[soundVolume]] [[musicVolume]] [[radioVolume]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16:49, 8 November 2023

Hover & click on the images for description

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:
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:
speechVolume fadeRadio fadeSound fadeMusic fadeEnvironment environmentVolume soundVolume musicVolume radioVolume

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