Table of Contents

Method GetPlayerChatHearingDistance

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetPlayerChatHearingDistance(NwPlayer, ChatChannel)

Gets the hearing distance for the specified NwPlayer and ChatChannel.

public float GetPlayerChatHearingDistance(NwPlayer player, ChatChannel chatChannel)

Parameters

player NwPlayer

The NwPlayer to query.

chatChannel ChatChannel

The ChatChannel to query.

Returns

float

The distance configured for the specified player and chat channel.
If no override is configured, returns the global configured distance instead.