Table of Contents

Method Create

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Create(string, Location, string?)

Creates a door at the specified location.

public static NwDoor? Create(string template, Location location, string? newTag = null)

Parameters

template string

The door resref template from the toolset palette.

location Location

The location where this door will spawn.

newTag string

The new tag to assign this door. Leave uninitialized/as null to use the template's tag.

Returns

NwDoor