Method Create
Create(string, Location, string?)
Creates a door at the specified location.
public static NwDoor? Create(string template, Location location, string? newTag = null)
Parameters
templatestringThe door resref template from the toolset palette.
locationLocationThe location where this door will spawn.
newTagstringThe new tag to assign this door. Leave uninitialized/as null to use the template's tag.