6 const string NWNX_Dialog =
"NWNX_Dialog";
81 NWNXCall(NWNX_Dialog,
"GetCurrentNodeType");
87 NWNXCall(NWNX_Dialog,
"GetCurrentScriptType");
93 NWNXCall(NWNX_Dialog,
"GetCurrentNodeID");
99 NWNXCall(NWNX_Dialog,
"GetCurrentNodeIndex");
106 NWNXPushInt(language);
107 NWNXCall(NWNX_Dialog,
"GetCurrentNodeText");
108 return NWNXPopString();
114 NWNXPushInt(language);
115 NWNXPushString(text);
116 NWNXCall(NWNX_Dialog,
"SetCurrentNodeText");
121 NWNXPushObject(oObject);
122 NWNXCall(NWNX_Dialog,
"End");
const int NWNX_DIALOG_SCRIPT_TYPE_OTHER
int NWNX_Dialog_GetCurrentScriptType()
Get the Script Type of the current text node.
const int NWNX_DIALOG_LANGUAGE_ENGLISH
void NWNX_Dialog_End(object oObject)
End a conversation oObject is involved in, it will fire the OnAbort script of the conversation.
const int NWNX_DIALOG_LANGUAGE_SPANISH
const int NWNX_DIALOG_LANGUAGE_ITALIAN
const int NWNX_DIALOG_LANGUAGE_JAPANESE
const int NWNX_DIALOG_LANGUAGE_KOREAN
const int NWNX_DIALOG_LANGUAGE_CHINESE_TRADITIONAL
void NWNX_Dialog_SetCurrentNodeText(string text, int language=NWNX_DIALOG_LANGUAGE_ENGLISH, int gender=GENDER_MALE)
Set the text of the current node for given language/gender.
const int NWNX_DIALOG_NODE_TYPE_REPLY_NODE
const int NWNX_DIALOG_LANGUAGE_POLISH
int NWNX_Dialog_GetCurrentNodeIndex()
Get the index of the current node in the list of replies/entries.
const int NWNX_DIALOG_LANGUAGE_CHINESE_SIMPLIFIED
int NWNX_Dialog_GetCurrentNodeID()
Get the absolute ID of the current node in the conversation.
int NWNX_Dialog_GetCurrentNodeType()
Get the Node Type of the current text node.
const int NWNX_DIALOG_LANGUAGE_GERMAN
const int NWNX_DIALOG_NODE_TYPE_STARTING_NODE
const int NWNX_DIALOG_SCRIPT_TYPE_STARTING_CONDITIONAL
string NWNX_Dialog_GetCurrentNodeText(int language=NWNX_DIALOG_LANGUAGE_ENGLISH, int gender=GENDER_MALE)
Get the text of the current node.
const int NWNX_DIALOG_NODE_TYPE_ENTRY_NODE
const int NWNX_DIALOG_LANGUAGE_FRENCH
const int NWNX_DIALOG_NODE_TYPE_INVALID
const int NWNX_DIALOG_SCRIPT_TYPE_ACTION_TAKEN