Table of Contents

Method FindObjectsWithTag

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

FindObjectsWithTag(params string[])

Locates all objects of that have the specified tag.

public static IEnumerable<NwObject> FindObjectsWithTag(params string[] tags)

Parameters

tags string[]

The tag/s of the objects to locate.

Returns

IEnumerable<NwObject>

An enumeration containing all objects with the specified tags.

FindObjectsWithTag<T>(params string[])

Locates all objects of the specified type that have the specified tag.

public static IEnumerable<T> FindObjectsWithTag<T>(params string[] tags) where T : NwObject

Parameters

tags string[]

The tag/s of the objects to locate.

Returns

IEnumerable<T>

An enumeration containing all objects with the specified tags.

Type Parameters

T

The type of objects to search.