Table of Contents

Method GetValue

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetValue(Location)

Gets the object from the campaign database, and spawns it at the specified location.

public T? GetValue(Location location)

Parameters

location Location

The location for the object to be spawned at.

Returns

T

The created object.

GetValue(NwGameObject)

Gets the object from the campaign database, and attempts to spawn it in the inventory of the specified object.
If the owner cannot carry the object, it will be spawned at the owner's current location.

public T? GetValue(NwGameObject owner)

Parameters

owner NwGameObject

The owner who should receive the spawned object.

Returns

T

The created object.