Table of Contents

Method GetObjectsInTrigger

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetObjectsInTrigger<T>()

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

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

Returns

IEnumerable<T>

An enumerable containing all objects currently in the trigger.

Type Parameters

T

The type of objects to return.

GetObjectsInTrigger(ObjectTypes)

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

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

Parameters

objectTypes ObjectTypes

The types of object to return.

Returns

IEnumerable<NwGameObject>

An enumerable containing all objects currently in the trigger.