Encounter¶
-
class
pynwn.EncounterCreature(gff, parent_obj)¶ -
appearance¶ Appearance
-
cr¶ Challenge rating
-
resref¶ Resref
-
unique¶ Unique spawn.
-
—
-
class
pynwn.Encounter(resource, instance=False)¶ -
active¶ Active flag.
-
comment¶ Comment.
-
creatures¶ Creatures in the encounter.
Returns: List of EncounterCreatureobjects.
-
difficulty¶ Difficulty.
-
difficulty_index¶ Difficulty Index.
-
faction¶ Faction ID.
-
get_name(lang=None)¶ Localized name.
-
max_creatures¶ Maximum creatures.
-
palette_id¶ Palette ID.
-
player_only¶ Triggered by player only.
-
rec_creatures¶ rec_creatures.
-
reset¶ Resets flag.
-
reset_time¶ Reset time.
-
respawns¶ Respawns.
-
resref¶ Resref.
-
scripts¶ Scripts. Responts to script events:
- Event.ENTER
- Event.EXIT
- Event.EXHAUSTED
- Event.HEARTBEAT
- Event.USER_DEFINED
-
set_name(lang=None, string=None)¶ Localized name.
-
spawn_option¶ Spawn option.
-
tag¶ Tag.
-
vars¶ Variable table
-
-
class
pynwn.EncounterInstance(gff, parent_obj)¶ A encounter instance is one placed in an area in the toolset. As such it’s values are derived from its parent GFF structure. It never needs to be instaniated directly.