setPlayerVoNVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command
{{Command


|game1= arma3 |Game name=
|game1= arma3


|version= 2.00 |Game version=
|version= 2.00


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


|eff= local |Effects in MP=
|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= <code>_loudPlayer [[setPlayerVoNVolume]] 0.5;</code>


|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]] |See Also=
|seealso= [[getPlayerVoNVolume]] [[fadeSound]] [[fadeRadio]] [[fadeMusic]]
}}
}}



Revision as of 11:12, 18 January 2021

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

Bottom Section