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

Go to the source code of this file.

Functions

int NWNX_Visibility_GetVisibilityOverride (object oPlayer, object oTarget)
 Queries the existing visibility override for given (oPlayer, oTarget) pair. If oPlayer is OBJECT_INVALID, the global visibility override will be returned. More...
 
void NWNX_Visibility_SetVisibilityOverride (object oPlayer, object oTarget, int nOverride)
 Overrides the default visibility rules about how oPlayer perceives oTarget. If oPlayer is OBJECT_INVALID, the global visibility override will be set. More...
 

Variables

Visibility Types

const int NWNX_VISIBILITY_DEFAULT = -1
 
const int NWNX_VISIBILITY_VISIBLE = 0
 
const int NWNX_VISIBILITY_HIDDEN = 1
 
const int NWNX_VISIBILITY_DM_ONLY = 2
 
const int NWNX_VISIBILITY_ALWAYS_VISIBLE = 3
 
const int NWNX_VISIBILITY_ALWAYS_VISIBLE_DM_ONLY = 4