C4 Engine
C4 Engine API Documentation

Player::SetChatSoundGroup

Defined in:  C4Messages.h
Sets the sound group to which a player's voice chat belongs.
Prototype

virtual void SetChatSoundGroup(SoundGroup *group);

Parameters
group The sound group to which the voice chat belongs. This can be nullptr.
Description
The SetChatSoundGroup function should be called shortly after a Player object is constructed in order to set the sound group to which the player's voice chat belongs. The player's voice chat is affected by the volume of this sound group.
See Also

Player::SetChatVolume

SoundGroup