|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_Chat =
"NWNX_Chat";
36 int NWNX_Chat_SendMessage(
int channel,
string message,
object sender = OBJECT_SELF,
object target = OBJECT_INVALID);
81 int NWNX_Chat_SendMessage(
int channel,
string message,
object sender = OBJECT_SELF,
object target = OBJECT_INVALID)
83 string sFunc =
"SendMessage";
95 string sFunc =
"RegisterChatScript";
103 string sFunc =
"SkipMessage";
110 string sFunc =
"GetChannel";
118 string sFunc =
"GetMessage";
126 string sFunc =
"GetSender";
134 string sFunc =
"GetTarget";
142 string sFunc =
"SetChatHearingDistance";
152 string sFunc =
"GetChatHearingDistance";
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
void NWNX_Chat_RegisterChatScript(string script)
Registers the script which receives all chat messages.
const int NWNX_CHAT_CHANNEL_DM_SHOUT
string NWNX_Chat_GetMessage()
Gets the message.
const int NWNX_CHAT_CHANNEL_PLAYER_TALK
const int NWNX_CHAT_CHANNEL_DM_DM
const int NWNX_CHAT_CHANNEL_PLAYER_WHISPER
float NWNX_GetReturnValueFloat()
Returns the specified type from the c++ side.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
const int NWNX_CHAT_CHANNEL_PLAYER_PARTY
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.
const int NWNX_CHAT_CHANNEL_PLAYER_TELL
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
int NWNX_Chat_SendMessage(int channel, string message, object sender=OBJECT_SELF, object target=OBJECT_INVALID)
Sends a chat message.
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
const int NWNX_CHAT_CHANNEL_DM_PARTY
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
const int NWNX_CHAT_CHANNEL_DM_TELL
void NWNX_Chat_SkipMessage()
Skips a chat message.
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.
object NWNX_Chat_GetSender()
Gets the sender of the message.
const int NWNX_CHAT_CHANNEL_DM_TALK
const int NWNX_CHAT_CHANNEL_SERVER_MSG
const int NWNX_CHAT_CHANNEL_PLAYER_SHOUT
object NWNX_GetReturnValueObject()
Returns the specified type from the c++ side.
const int NWNX_CHAT_CHANNEL_PLAYER_DM
int NWNX_Chat_GetChannel()
Gets the chat channel.
void NWNX_PushArgumentFloat(float value)
Pushes the specified type to the c++ side.
object NWNX_Chat_GetTarget()
Gets the target of the message.
const int NWNX_CHAT_CHANNEL_DM_WHISPER