NWNX:EE  8193.36.12
nwnx_dialog.nss File Reference
#include "nwnx"

Go to the source code of this file.

Functions

int NWNX_Dialog_GetCurrentNodeType ()
 Get the Node Type of the current text node. More...
 
int NWNX_Dialog_GetCurrentScriptType ()
 Get the Script Type of the current text node. More...
 
int NWNX_Dialog_GetCurrentNodeID ()
 Get the absolute ID of the current node in the conversation. More...
 
int NWNX_Dialog_GetCurrentNodeIndex ()
 Get the index of the current node in the list of replies/entries. More...
 
string NWNX_Dialog_GetCurrentNodeText (int language=NWNX_DIALOG_LANGUAGE_ENGLISH, int gender=GENDER_MALE)
 Get the text of the current node. More...
 
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. More...
 
void NWNX_Dialog_End (object oObject)
 End a conversation oObject is involved in, it will fire the OnAbort script of the conversation. More...
 

Variables

Dialog Node Types

const int NWNX_DIALOG_NODE_TYPE_INVALID = -1
 
const int NWNX_DIALOG_NODE_TYPE_STARTING_NODE = 0
 
const int NWNX_DIALOG_NODE_TYPE_ENTRY_NODE = 1
 
const int NWNX_DIALOG_NODE_TYPE_REPLY_NODE = 2
 
Dialog Script Types

const int NWNX_DIALOG_SCRIPT_TYPE_OTHER = 0
 
const int NWNX_DIALOG_SCRIPT_TYPE_STARTING_CONDITIONAL = 1
 
const int NWNX_DIALOG_SCRIPT_TYPE_ACTION_TAKEN = 2
 
Dialog Languages

const int NWNX_DIALOG_LANGUAGE_ENGLISH = 0
 
const int NWNX_DIALOG_LANGUAGE_FRENCH = 1
 
const int NWNX_DIALOG_LANGUAGE_GERMAN = 2
 
const int NWNX_DIALOG_LANGUAGE_ITALIAN = 3
 
const int NWNX_DIALOG_LANGUAGE_SPANISH = 4
 
const int NWNX_DIALOG_LANGUAGE_POLISH = 5
 
const int NWNX_DIALOG_LANGUAGE_KOREAN = 128
 
const int NWNX_DIALOG_LANGUAGE_CHINESE_TRADITIONAL = 129
 
const int NWNX_DIALOG_LANGUAGE_CHINESE_SIMPLIFIED = 130
 
const int NWNX_DIALOG_LANGUAGE_JAPANESE = 131