setPlayerVoNVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added Effect local)
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


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


|version= 2.00 |Game version=
|arg= global


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


|eff= local |Effects in MP=
|gr1= Radio and Chat


|gr1= Radio and Chat |GROUP1=
|descr= Sets provided player's Voice over Network (VoN) volume.
____________________________________________________________________________________________


|descr= Sets provided player's Voice over Network (VoN) volume. |Description=
|s1= unit [[setPlayerVoNVolume]] volume
____________________________________________________________________________________________


|s1= unit [[setPlayerVoNVolume]] volume |Syntax=
|p1= unit: [[Object]] - the other player's unit


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


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


|r1= [[Nothing]] |Return Value=
|x1= <sqf>_loudPlayer setPlayerVoNVolume 0.5;</sqf>
____________________________________________________________________________________________


|x1= <code>_loudPlayer [[setPlayerVoNVolume]] 0.5;</code> |Example 1=
|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]]
____________________________________________________________________________________________
 
|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]] |See Also=
}}
}}
<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