Table of Contents

Method GetObjectsInEncounterArea

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetObjectsInEncounterArea<T>()

Gets all objects of the given type that are currently in this encounter trigger.

public IEnumerable<T> GetObjectsInEncounterArea<T>() where T : NwGameObject

Returns

IEnumerable<T>

An enumerable containing all objects currently in the encounter area.

Type Parameters

T

The type of objects to return.

GetObjectsInEncounterArea(ObjectTypes)

Gets all objects of the given types that are currently in this encounter trigger.

public IEnumerable<NwGameObject> GetObjectsInEncounterArea(ObjectTypes objectTypes = ObjectTypes.All)

Parameters

objectTypes ObjectTypes

The types of object to return.

Returns

IEnumerable<NwGameObject>

An enumerable containing all objects currently in the encounter area.