Registers the doortool tool, which locks and unlocks doors and sets them ownable or unownable from the tool gun.
Left click runs /DoorLock, /DoorSetOwnable or /DoorSetUnownable depending on the selected mode, and right
click runs /DoorUnlock in lock mode. The tool menu picks the mode and the door name and text.
Summary
Functions
BuildCPanel(panel)client
Builds the tool menu controls: the mode list and the fields the selected mode uses.
Methods
LeftClick(trace)shared
Runs the command for the selected mode on the door being looked at:
DoorLock (mode 1), DoorSetOwnable with the name (mode 2) or DoorSetUnownable with the name and text (mode 3).RightClick(trace)shared
Runs
DoorUnlock on the door being looked at when the tool is in lock mode (mode 1).Functions
Builds the tool menu controls: the mode list and the fields the selected mode uses.
Parameters
- panel
Methods
Runs the command for the selected mode on the door being looked at: DoorLock (mode 1),
DoorSetOwnable with the name (mode 2) or DoorSetUnownable with the name and text (mode 3).
Parameters
- trace
Runs DoorUnlock on the door being looked at when the tool is in lock mode (mode 1).
Parameters
- trace