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

Go to the source code of this file.

Functions

void NWNX_Rename_SetPCNameOverride (object oTarget, string sNewName, string sPrefix="", string sSuffix="", int iPlayerNameState=NWNX_RENAME_PLAYERNAME_DEFAULT, object oObserver=OBJECT_INVALID)
 Set a PC's character name and community name on the player list. More...
 
string NWNX_Rename_GetPCNameOverride (object oTarget, object oObserver=OBJECT_INVALID)
 Gets a PC's name as overridden. More...
 
void NWNX_Rename_ClearPCNameOverride (object oTarget, object oObserver=OBJECT_INVALID, int clearAll=FALSE)
 Clears an overridden PC Name. More...
 

Variables

Community Name Override Type

const int NWNX_RENAME_PLAYERNAME_DEFAULT = 0
 Don't rename. More...
 
const int NWNX_RENAME_PLAYERNAME_OBFUSCATE = 1
 Generate random string for Community Name. More...
 
const int NWNX_RENAME_PLAYERNAME_OVERRIDE = 2
 Use character name specified. More...
 
const int NWNX_RENAME_PLAYERNAME_ANONYMOUS = 3
 Use the value of the NWNX_RENAME_ANONYMOUS_NAME environment variable. More...