setPlayerVoNVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added Effect local)
m (Text replacement - "_{10,} " to "")
Line 10: Line 10:


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


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


|s1= unit [[setPlayerVoNVolume]] volume |Syntax=
|s1= unit [[setPlayerVoNVolume]] volume |Syntax=
Line 22: Line 20:


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


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


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

Revision as of 02:31, 17 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