fadeSpeech: Difference between revisions

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


| arma2oa |= Game name
|game1= arma2oa
|eff= local|= Effects in MP
|version1= 1.50


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


| 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
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| time '''fadeSpeech''' volume |= Syntax
|eff= local


|p1= time: [[Number]] |=
|gr1= Sounds
|p2= volume: [[Number]] |=  


| [[Nothing]] |= Return value
|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]]


|x1= <code>5 [[fadeSpeech]] 0.1;</code> |= EXAMPLE1
|s1= time [[fadeSpeech]] volume
____________________________________________________________________________________________


| [[fadeRadio]], [[fadeSound]], [[fadeMusic]], [[soundVolume]], [[musicVolume]], [[radioVolume]] |= See also
|p1= time: [[Number]] - fade interval in seconds


}}
|p2= volume: [[Number]] - speech volume range 0 to 2


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>5 fadeSpeech 0.1;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[speechVolume]] [[fadeRadio]] [[fadeSound]] [[fadeMusic]] [[fadeEnvironment]] [[environmentVolume]] [[soundVolume]] [[musicVolume]] [[radioVolume]]
 
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: 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