setPlayerVoNVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev |Game name=
|game1= arma3
|version1= 2.00


|version= 1.99 |Game version=
|arg= global


|arg= global |Multiplayer Arguments ("local" or "global")=
|eff= local


|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat
____________________________________________________________________________________________


|descr= Sets provided player's Voice over Network (VoN) volume. |Description=
|descr= Sets provided player's Voice over Network (VoN) volume.
____________________________________________________________________________________________


|s1= unit [[setPlayerVoNVolume]] volume |Syntax=
|s1= unit [[setPlayerVoNVolume]] volume


|p1= unit: [[Object]] - the other player's unit |Parameter 1=
|p1= unit: [[Object]] - the other player's unit


|p2= volume: [[Number]] - the wanted volume |Parameter 2=
|p2= volume: [[Number]] - the wanted volume


|r1= [[Nothing]] |Return Value=
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code>_loudPlayer [[setPlayerVoNVolume]] 0.5;</code> |Example 1=
|x1= <sqf>_loudPlayer setPlayerVoNVolume 0.5;</sqf>
____________________________________________________________________________________________


|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]] |See Also=
|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 12:09, 4 May 2022

Hover & click on the images for description

Description

Description:
Sets provided player's Voice over Network (VoN) volume.
Groups:
Radio and Chat

Syntax

Syntax:
unit setPlayerVoNVolume volume
Parameters:
unit: Object - the other player's unit
volume: Number - the wanted volume
Return Value:
Nothing

Examples

Example 1:
_loudPlayer setPlayerVoNVolume 0.5;

Additional Information

See also:
getPlayerVoNVolume fadeSound fadeRadio fadeMusic

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