Category:Encounter Functions

From NWN Lexicon
Jump to: navigation, search

Encounter Function Category

Functions used to deal with encounters.



Functions

Name Brief Description

ActionCreate

Used to encapsulate CreateObject allowing this function to be added to the action stack.

GetEncounterActive

Gets a TRUE or FALSE value depending on whether the encounter has spawned and is active.

GetEncounterDifficulty

Get the difficulty level of the encounter.

GetEncounterSpawnsCurrent

Get the number of times that the encounter has spawned so far.

GetEncounterSpawnsMax

Get the maximum number of times that oEncounter will spawn.

GetEnteringObject

Gets the object that last opened or entered the calling object.

GetExitingObject

Get the object that last left the calling object.

GetIsEncounterCreature

Determines whether a creature was spawned from an encounter.

SetEncounterActive

Sets an encounter to active or inactive.

SetEncounterDifficulty

Sets the difficulty level of an encounter.

SetEncounterSpawnsCurrent

Sets the number of times that an encounter has spawned.

SetEncounterSpawnsMax

Sets the maximum number of times that an encounter can spawn.