#include "nwnx"
Go to the source code of this file.
Functions | |
int | NWNX_Chat_SendMessage (int channel, string message, object sender=OBJECT_SELF, object target=OBJECT_INVALID) |
Sends a chat message. More... | |
void | NWNX_Chat_RegisterChatScript (string script) |
Registers the script which receives all chat messages. More... | |
void | NWNX_Chat_SkipMessage () |
Skips a chat message. More... | |
int | NWNX_Chat_GetChannel () |
Gets the chat channel. More... | |
string | NWNX_Chat_GetMessage () |
Gets the message. More... | |
object | NWNX_Chat_GetSender () |
Gets the sender of the message. More... | |
object | NWNX_Chat_GetTarget () |
Gets the target of the message. More... | |
void | NWNX_Chat_SetChatHearingDistance (float distance, object listener=OBJECT_INVALID, int channel=NWNX_CHAT_CHANNEL_PLAYER_TALK) |
Sets the distance with which the player hears talks or whispers. More... | |
float | NWNX_Chat_GetChatHearingDistance (object listener=OBJECT_INVALID, int channel=NWNX_CHAT_CHANNEL_PLAYER_TALK) |
Gets the distance with which the player hears talks or whisper. More... | |
Variables | |
Chat Channels | |
const int | NWNX_CHAT_CHANNEL_PLAYER_TALK = 1 |
const int | NWNX_CHAT_CHANNEL_PLAYER_SHOUT = 2 |
const int | NWNX_CHAT_CHANNEL_PLAYER_WHISPER = 3 |
const int | NWNX_CHAT_CHANNEL_PLAYER_TELL = 4 |
const int | NWNX_CHAT_CHANNEL_SERVER_MSG = 5 |
const int | NWNX_CHAT_CHANNEL_PLAYER_PARTY = 6 |
const int | NWNX_CHAT_CHANNEL_PLAYER_DM = 14 |
const int | NWNX_CHAT_CHANNEL_DM_TALK = 17 |
const int | NWNX_CHAT_CHANNEL_DM_SHOUT = 18 |
const int | NWNX_CHAT_CHANNEL_DM_WHISPER = 19 |
const int | NWNX_CHAT_CHANNEL_DM_TELL = 20 |
const int | NWNX_CHAT_CHANNEL_DM_PARTY = 22 |
const int | NWNX_CHAT_CHANNEL_DM_DM = 30 |