Method Clone
Clone(Location, string?, bool)
Creates a copy of this game object.
public override NwCreature Clone(Location location, string? newTag = null, bool copyLocalState = true)
Parameters
locationLocationThe location to create the cloned object.
newTagstringA new tag to assign the cloned object.
copyLocalStateboolIf 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.