Method SetObjectNameOverride
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
gameObjectNwGameObjectThe game object to set a new name for.
namestringThe new name of the object.
Exceptions
- ArgumentException
Thrown if gameObject is not a placeable, door, item or creature.