SetEncounterSpawnsMax(int, object)

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

void SetEncounterSpawnsMax(
    int nNewValue,
    object oEncounter = OBJECT_SELF
);

Parameters

nNewValue

The new maximum spawn value.

oEncounter

The encounter to have its value changed. (Default: OBJECT_SELF)


Description

Sets the maximum number of times that oEncounter can spawn.



Version

1.22

See Also

functions: GetEncounterSpawnsMax
categories: Encounter Functions


 author: Tom Cassiotis
 Send comments on this topic.