Table of Contents

Class NwDoor

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

A tile-based door.

public sealed class NwDoor : NwStationary, IEquatable<NwObject>
Inheritance
NwDoor
Implements
Inherited Members
Extension Methods

Properties

DialogResRef

Gets or sets the dialog ResRef for this door.

DoorOpenState

Gets or sets the open state for this door.

IsValid

Gets a value indicating whether this is a valid object.

KeyAutoRemoved

Gets or sets a value indicating whether the key for this lock should "break"/be removed from the creature's inventory when used on this lock.

Methods

Clone(Location, string?, bool)

Creates a copy of this game object.

Close()

Closes this door.

Create(string, Location, string?)

Creates a door at the specified location.

Deserialize(byte[])
GetBaseSavingThrow(SavingThrow)

Gets this door's base save value for the specified saving throw.

IsDoorActionPossible(DoorAction)

Determines whether the specified action can be performed on this door.

Open()

Opens this door.

Serialize()
SetBaseSavingThrow(SavingThrow, sbyte)

Sets this door's base save value for the specified saving throw.

Events

OnAreaTransitionClick
OnClose
OnConversation

Called when this door starts a conversation, or hears a message they are listening for.

OnDamaged
OnDeath
OnDisarm
OnDoorSetOpenState

Called when a door's open state is changed (open/closed/destroyed).

OnFailToOpen
OnHeartbeat
OnLock
OnOpen
OnPhysicalAttacked
OnSpellCastAt
OnTrapTriggered
OnUnlock
OnUserDefined

Operators

implicit operator CNWSDoor?(NwDoor?)