Skip to main content
Version: 2.x

Set Listen ChannelMask For Peer

Overrides the channel mask used when listening to a specific peer, taking precedence over the default set via SetListenChannelMask. Useful for finer per-sender control, e.g. always hearing party members on the non-spatialized group channel even when standing next to them.

Inputs​

NameTypeDescription
TargetOdin RoomThe Odin Room to call this function on.
Peer IdInteger64peer to override the listen channel mask for
MaskOdin Channel Maskchannel mask to listen to for this peer

Outputs​

NameTypeDescription
Return ValueBooleantrue on ODIN_ERROR_SUCCESS or false