fadeSpeech: Difference between revisions

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


| arma2oa |Game name=
|game1= arma2oa
|eff= local|Multiplayer Effects=
|version1= 1.50


|1.51|Game version=
|game2= tkoh
|version2= 1.00


|gr1= Sounds |GROUP1=
|game3= arma3
|version3= 0.50


| Cause a smooth change in the master speech volume. The change duration is given by time, the target volume by volume. The default master is 1.0. |DESCRIPTION=
|eff= local


| time '''fadeSpeech''' volume |SYNTAX=
|gr1= Sounds


|p1= time: [[Number]] |Parameter1=
|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]]


|p2= volume: [[Number]] |=
|s1= time [[fadeSpeech]] volume


| [[Nothing]] |RETURNVALUE=
|p1= time: [[Number]] - fade interval in seconds


|x1= <code>5 [[fadeSpeech]] 0.1;</code> |EXAMPLE1=
|p2= volume: [[Number]] - speech volume range 0 to 2


| [[fadeRadio]], [[fadeSound]], [[fadeMusic]], [[soundVolume]], [[musicVolume]], [[radioVolume]] |SEEALSO=
|r1= [[Nothing]]


|x1= <sqf>5 fadeSpeech 0.1;</sqf>
|seealso= [[speechVolume]] [[fadeRadio]] [[fadeSound]] [[fadeMusic]] [[fadeEnvironment]] [[environmentVolume]] [[soundVolume]] [[musicVolume]] [[radioVolume]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[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 15: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