GetEncounterSpawnsMax(object)

From NWN Lexicon
Jump to navigationJump to search

Get the maximum number of times that oEncounter will spawn.

int GetEncounterSpawnsMax(
    object oEncounter
);

Parameters

oEncounter
The encounter object you wish to examine.


Description

Returns the maximum allowed times the Encounter was set to spawn when it was created in the toolset.

It returns -1 for unlimited spawns, 0 if the encounter is otherwise going to not spawn anything (but can be enabled later with SetEncounterSpawnsMax).


See Also

functions: 

SetEncounterSpawnsMax



 author: John Shuell