fougerite / Fougerite

Fougerite Project is unofficial fork of Magma. Forked to develop it with community.
http://fougerite.com/
Other
4 stars 19 forks source link

Door open Directly by Class Entity #54

Closed dretax closed 10 years ago

dretax commented 10 years ago

Add a way to open/close the door in the entity class.

mikecrews commented 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.