setPlayerVoNVolume: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Some wiki formatting)
 
Line 20: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Latest revision as of 13: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