SetVoiceRange
How far a voice carries by default, in metres.
The server relays a voice to the players within this distance of the talker, and every client sets its 3D falloff
from it: full level within the first metre, fading to silence at the range. 0 switches the voice chat off for
everyone (a player with an own range through SetPlayerVoiceRange still carries). The change reaches every
client at once. The start value is [voice] range in server.toml (25).
Syntax
Section titled “Syntax”SetVoiceRange(metres)| Parameter | Type | |
|---|---|---|
metres |
number | the range; 0 = off |
Example
Section titled “Example”-- a whispering gallery: nobody carries further than 8 mSetVoiceRange(8)See also
Section titled “See also”GetVoiceRange · SetPlayerVoiceRange · the Voice chat group of the index
