|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_Encounter =
"NWNX_Encounter";
125 string sFunc =
"Destroy";
133 string sFunc =
"GetNumberOfCreaturesInEncounterList";
143 string sFunc =
"GetEncounterCreatureByIndex";
156 return creatureEntry;
161 string sFunc =
"SetEncounterCreatureByIndex";
175 string sFunc =
"GetFactionId";
185 string sFunc =
"SetFactionId";
195 string sFunc =
"GetPlayerTriggeredOnly";
205 string sFunc =
"SetPlayerTriggeredOnly";
215 string sFunc =
"GetCanReset";
225 string sFunc =
"SetCanReset";
235 string sFunc =
"GetResetTime";
245 string sFunc =
"SetResetTime";
255 string sFunc =
"GetNumberOfSpawnPoints";
265 string sFunc =
"GetSpawnPointByIndex";
276 return Location(GetArea(encounter), Vector(x, y, z), o);
281 string sFunc =
"GetMinNumSpawned";
291 string sFunc =
"GetMaxNumSpawned";
301 string sFunc =
"GetCurrentNumSpawned";
311 string sFunc =
"GetGeometry";
321 string sFunc =
"SetGeometry";
struct NWNX_Encounter_CreatureListEntry NWNX_Encounter_GetEncounterCreatureByIndex(object encounter, int index)
Gets the encounter creature list entry at the specified index.
int NWNX_Encounter_GetNumberOfSpawnPoints(object encounter)
Get the number of spawn points of encounter.
void NWNX_Encounter_SetGeometry(object oTrigger, string sGeometry)
Set the geometry of an encounter with a list of vertex positions.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
void NWNX_Encounter_SetResetTime(object encounter, int resetTime)
Set the reset time of encounter.
void NWNX_Encounter_SetPlayerTriggeredOnly(object encounter, int playerTriggeredOnly)
Set if encounter is player triggered only.
int NWNX_Encounter_GetFactionId(object encounter)
Get the faction id of encounter.
int NWNX_Encounter_GetPlayerTriggeredOnly(object encounter)
Get if encounter is player triggered only.
A creature list entry for an encounter.
int NWNX_Encounter_GetCurrentNumSpawned(object encounter)
Get the current number of creatures that are spawned and alive.
float NWNX_GetReturnValueFloat()
Returns the specified type from the c++ side.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
int NWNX_Encounter_GetResetTime(object encounter)
Get the reset time of encounter.
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
int NWNX_Encounter_GetNumberOfCreaturesInEncounterList(object encounter)
Get the number of creatures in the encounter list.
int NWNX_Encounter_GetCanReset(object encounter)
Get if the encounter respawns or not.
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
void NWNX_Encounter_Destroy(object encounter)
Immediately destroys the specified encounter object.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
float challengeRating
The challenge rating.
void NWNX_Encounter_SetEncounterCreatureByIndex(object encounter, int index, struct NWNX_Encounter_CreatureListEntry creatureEntry)
Set the encounter creature list entry at the specified index.
int unique
Creature will be unique to the encounter.
location NWNX_Encounter_GetSpawnPointByIndex(object encounter, int index)
Gets the spawn point list entry at the specified index.
void NWNX_Encounter_SetFactionId(object encounter, int factionId)
Set the faction id of encounter.
void NWNX_PushArgumentFloat(float value)
Pushes the specified type to the c++ side.
int NWNX_Encounter_GetMinNumSpawned(object encounter)
Get the minimum amount of creatures that encounter will spawn.
string NWNX_Encounter_GetGeometry(object oEncounter)
Get the geometry of an encounter.
int NWNX_Encounter_GetMaxNumSpawned(object encounter)
Get the maximum amount of creatures that encounter will spawn.
void NWNX_Encounter_SetCanReset(object encounter, int reset)
Set if the encounter respawns or not.