Difference between revisions of "setPlayerVoNVolume"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Some wiki formatting)
 
(10 intermediate revisions by 4 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
____________________________________________________________________________________________
 
  
|descr= Sets provided player's Voice over Network (VoN) volume. |Description=
+
|gr1= Radio and Chat
____________________________________________________________________________________________
 
  
|s1= unit [[setPlayerVoNVolume]] volume |Syntax=
+
|descr= Sets provided player's Voice over Network (VoN) volume.
  
|p1= unit: [[Object]] - the other player's unit |Parameter 1=
+
|s1= unit [[setPlayerVoNVolume]] volume
  
|p2= volume: [[Number]] - the wanted volume |Parameter 2=
+
|p1= unit: [[Object]] - the other player's unit
  
|r1= [[Nothing]] |Return Value=
+
|p2= volume: [[Number]] - the wanted volume
____________________________________________________________________________________________
 
  
|x1= <code>_loudPlayer [[setPlayerVoNVolume]] 0.5;</code> |Example 1=
+
|r1= [[Nothing]]
____________________________________________________________________________________________
 
  
|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]] |See Also=
+
|x1= <sqf>_loudPlayer setPlayerVoNVolume 0.5;</sqf>
 +
 
 +
|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