Table of Contents

Method GetNearestObjectsByType

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetNearestObjectsByType<T>()

Gets all objects near this location, ordered by distance.

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

Returns

IEnumerable<T>

Objects of type T ordered by distance.

Type Parameters

T

The game object type to filter and return.