teamVoiceChannel
teamVoiceChannel(
options?):VoiceChannel
A channel that reaches the speaker’s teammates, by the core’s team
question, which teams() answers, so within one match where the match
scopes teams. Team voice heard nearby, placed and fading, is
teamVoiceChannel({ proximity: true }). As Roblox’s team voice
example and Fortnite’s Team scope.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
VoiceChannelOptions |
Returns
Section titled “Returns”Example
Section titled “Example”export const voiceChat = defineVoiceChat({ channels: { team: teamVoiceChannel() }, });