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

Go to the source code of this file.

Classes

struct  NWNX_Encounter_CreatureListEntry
 A creature list entry for an encounter. More...
 

Functions

void NWNX_Encounter_Destroy (object encounter)
 Immediately destroys the specified encounter object. More...
 
int NWNX_Encounter_GetNumberOfCreaturesInEncounterList (object encounter)
 Get the number of creatures in the encounter list. More...
 
struct NWNX_Encounter_CreatureListEntry NWNX_Encounter_GetEncounterCreatureByIndex (object encounter, int index)
 Gets the encounter creature list entry at the specified index. More...
 
void NWNX_Encounter_SetEncounterCreatureByIndex (object encounter, int index, struct NWNX_Encounter_CreatureListEntry creatureEntry)
 Set the encounter creature list entry at the specified index. More...
 
int NWNX_Encounter_GetFactionId (object encounter)
 Get the faction id of encounter. More...
 
void NWNX_Encounter_SetFactionId (object encounter, int factionId)
 Set the faction id of encounter. More...
 
int NWNX_Encounter_GetPlayerTriggeredOnly (object encounter)
 Get if encounter is player triggered only. More...
 
void NWNX_Encounter_SetPlayerTriggeredOnly (object encounter, int playerTriggeredOnly)
 Set if encounter is player triggered only. More...
 
int NWNX_Encounter_GetCanReset (object encounter)
 Get if the encounter respawns or not. More...
 
void NWNX_Encounter_SetCanReset (object encounter, int reset)
 Set if the encounter respawns or not. More...
 
int NWNX_Encounter_GetResetTime (object encounter)
 Get the reset time of encounter. More...
 
void NWNX_Encounter_SetResetTime (object encounter, int resetTime)
 Set the reset time of encounter. More...
 
int NWNX_Encounter_GetNumberOfSpawnPoints (object encounter)
 Get the number of spawn points of encounter. More...
 
location NWNX_Encounter_GetSpawnPointByIndex (object encounter, int index)
 Gets the spawn point list entry at the specified index. More...
 
int NWNX_Encounter_GetMinNumSpawned (object encounter)
 Get the minimum amount of creatures that encounter will spawn. More...
 
int NWNX_Encounter_GetMaxNumSpawned (object encounter)
 Get the maximum amount of creatures that encounter will spawn. More...
 
int NWNX_Encounter_GetCurrentNumSpawned (object encounter)
 Get the current number of creatures that are spawned and alive. More...
 
string NWNX_Encounter_GetGeometry (object oEncounter)
 Get the geometry of an encounter. More...
 
void NWNX_Encounter_SetGeometry (object oTrigger, string sGeometry)
 Set the geometry of an encounter with a list of vertex positions. More...