The Door Link tool links doors into groups that are owned, shared and labeled together. The first left click picks the main door of a group, every left click after that links the door the user is looking at to it. Right click takes a door out of its group, or breaks the group up if the door is its main door, and reload forgets the picked door. The tool is tied to the 'manage_doors' permission.
Summary
Methods
LeftClick(trace)shared
Picks the door the owner is looking at as the main door of a group, or links it to the door that has been picked before.
Reload(_trace)shared
Forgets the door that was picked as the main door of a group.
RightClick(trace)shared
Takes the door the owner is looking at out of its group, or breaks the group up if the door is its main door.
Methods
Picks the door the owner is looking at as the main door of a group, or links it to the door that has been picked before.
Parameters
- trace Map trace result of the tool owner's aim
Returns
- Boolean true on the client and when a door was picked or linked, false otherwise
Forgets the door that was picked as the main door of a group.
Parameters
- _trace Map trace result of the tool owner's aim
Returns
- Boolean true on the client and when a picked door was forgotten, false otherwise
Takes the door the owner is looking at out of its group, or breaks the group up if the door is its main door.
Parameters
- trace Map trace result of the tool owner's aim
Returns
- Boolean true on the client and when a door was unlinked, false otherwise