Table of Contents

Method SetObjectNameOverride

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SetObjectNameOverride(NwGameObject, string)

Sets an override name for a specific game object, as visible from this player.
Supports placeables, doors, items and creatures.

public void SetObjectNameOverride(NwGameObject gameObject, string name)

Parameters

gameObject NwGameObject

The game object to set a new name for.

name string

The new name of the object.

Exceptions

ArgumentException

Thrown if gameObject is not a placeable, door, item or creature.