Table of Contents

Method GetObjectVariable

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetObjectVariable<T>(string)

Gets the specified object variable for this object.

public T GetObjectVariable<T>(string name) where T : ObjectVariable, new()

Parameters

name string

The variable name.

Returns

T

A LocalVariable instance for getting/setting the variable's value.

Type Parameters

T

The variable type.