Skip to content

SetPlayerVoiceRange

One player’s own voice range in metres; 0 = the default again.

A town crier heard across the square, a conspirator heard at arm’s length. The range applies to that player’s voice alone (how far others hear them, not how far they hear); every client is told.

SetPlayerVoiceRange(pid, metres)
Parameter Type
pid number the player
metres number their range; 0 = the server’s default

boolean: false for an unknown player

-- the herald is heard across the whole camp
SetPlayerVoiceRange(herald, 80)

GetPlayerVoiceRange · SetVoiceRange · the Voice chat group of the index