fadeSpeech: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(5 intermediate revisions by the same user not shown)
Line 21: Line 21:
|s1= 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
|p2= volume: [[Number]] - speech volume range 0 to 2


|r1= [[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]]
}}
}}

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