Table of Contents

Method Clone

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Clone(Location, string?, bool)

Creates a copy of this game object.

public override NwCreature Clone(Location location, string? newTag = null, bool copyLocalState = true)

Parameters

location Location

The location to create the cloned object.

newTag string

A new tag to assign the cloned object.

copyLocalState bool

If true, will clone all local variables, effects, action queue and transition info (triggers, doors) for the object.

Returns

NwCreature

The newly cloned copy of the item.