Closed dretax closed 10 years ago
Already exists. OnDoorUse() Passes DoorEvent DoorEvent is new Entity( MetalDoor(Clone) ) + Open property to open/close door. See Hooks.cs and DoorEvent.cs
There isn't a way to open/close a door outside of a DoorEvent. Opening a door requires a player controllable. You can't do it with a /command or from a timer, or whatever.
Add a way to open/close the door in the entity class.