Class NwDoor
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.
- 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.
- SetBaseSavingThrow(SavingThrow, sbyte)
Sets this door's base save value for the specified saving throw.
Events
- OnConversation
Called when this door starts a conversation, or hears a message they are listening for.
- OnDoorSetOpenState
Called when a door's open state is changed (open/closed/destroyed).