| Files | |
| file | nwnx_encounter.nss | 
| 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... | |
| void NWNX_Encounter_Destroy | ( | object | encounter | ) | 
Immediately destroys the specified encounter object.
| encounter | The encounter object. | 
Definition at line 122 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetNumberOfCreaturesInEncounterList | ( | object | encounter | ) | 
Get the number of creatures in the encounter list.
| encounter | The encounter object. | 
Definition at line 128 of file nwnx_encounter.nss.
| struct NWNX_Encounter_CreatureListEntry NWNX_Encounter_GetEncounterCreatureByIndex | ( | object | encounter, | 
| int | index | ||
| ) | 
Gets the encounter creature list entry at the specified index.
| encounter | The encounter object. | 
| index | The index of the creature in the encounter list. | 
Definition at line 128 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetEncounterCreatureByIndex | ( | object | encounter, | 
| int | index, | ||
| struct NWNX_Encounter_CreatureListEntry | creatureEntry | ||
| ) | 
Set the encounter creature list entry at the specified index.
| encounter | The encounter object. | 
| index | The index of the creature in the encounter list. | 
| creatureEntry | The NWNX_Encounter_CreatureListEntry. | 
Definition at line 148 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetFactionId | ( | object | encounter | ) | 
Get the faction id of encounter.
| encounter | The encounter object. | 
Definition at line 159 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetFactionId | ( | object | encounter, | 
| int | factionId | ||
| ) | 
Set the faction id of encounter.
| encounter | The encounter object. | 
| factionId | The faction id. | 
Definition at line 166 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetPlayerTriggeredOnly | ( | object | encounter | ) | 
Get if encounter is player triggered only.
| encounter | The encounter object. | 
Definition at line 173 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetPlayerTriggeredOnly | ( | object | encounter, | 
| int | playerTriggeredOnly | ||
| ) | 
Set if encounter is player triggered only.
| encounter | The encounter object. | 
| playerTriggeredOnly | TRUE/FALSE | 
Definition at line 180 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetCanReset | ( | object | encounter | ) | 
Get if the encounter respawns or not.
| encounter | The encounter object. | 
Definition at line 188 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetCanReset | ( | object | encounter, | 
| int | reset | ||
| ) | 
Set if the encounter respawns or not.
| encounter | The encounter object. | 
| reset | Does the encounter respawn TRUE or FALSE. | 
Definition at line 195 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetResetTime | ( | object | encounter | ) | 
Get the reset time of encounter.
| encounter | The encounter object. | 
Definition at line 202 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetResetTime | ( | object | encounter, | 
| int | resetTime | ||
| ) | 
Set the reset time of encounter.
| encounter | The encounter object. | 
| resetTime | The seconds the encounter will reset. | 
Definition at line 209 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetNumberOfSpawnPoints | ( | object | encounter | ) | 
Get the number of spawn points of encounter.
| encounter | The encounter object. | 
Definition at line 216 of file nwnx_encounter.nss.
| location NWNX_Encounter_GetSpawnPointByIndex | ( | object | encounter, | 
| int | index | ||
| ) | 
Gets the spawn point list entry at the specified index.
| encounter | The encounter object. | 
| index | The index of the spawn point in the encounter list. | 
Definition at line 223 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetMinNumSpawned | ( | object | encounter | ) | 
Get the minimum amount of creatures that encounter will spawn.
| encounter | The encounter object. | 
Definition at line 233 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetMaxNumSpawned | ( | object | encounter | ) | 
Get the maximum amount of creatures that encounter will spawn.
| encounter | The encounter object. | 
Definition at line 240 of file nwnx_encounter.nss.
| int NWNX_Encounter_GetCurrentNumSpawned | ( | object | encounter | ) | 
Get the current number of creatures that are spawned and alive.
| encounter | The encounter object. | 
Definition at line 247 of file nwnx_encounter.nss.
| string NWNX_Encounter_GetGeometry | ( | object | oEncounter | ) | 
Get the geometry of an encounter.
| oEncounter | The encounter object. | 
Definition at line 254 of file nwnx_encounter.nss.
| void NWNX_Encounter_SetGeometry | ( | object | oTrigger, | 
| string | sGeometry | ||
| ) | 
Set the geometry of an encounter with a list of vertex positions.
| oTrigger | The encounter object. | 
| sGeometry | Needs to be in the following format -> {x.x, y.y, z.z} or {x.x, y.y} Example Geometry: "{1.0, 1.0, 0.0}{4.0, 1.0, 0.0}{4.0, 4.0, 0.0}{1.0, 4.0, 0.0}" | 
Definition at line 261 of file nwnx_encounter.nss.