Wired Weld/Constraint Latch

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:A Weld that is toggled with wire.
link=User:{{{author}}} Primary fire:Select the first object to be latched, then the second, and finally the controller
Wrench orange.png Secondary fire:
Link break.png Reload:No action
Page white text.png Notes:Do not dupe this while latch is activated, the weld will be permanent in the dupe.

Brief

One or two props can be welded to each other (or world), and that weld can then be "toggled"

Instructions

Select the first object to be latched, then the second, and finally the controller. The input determines if the two objects are welded or not, 1 is weld, 0 is unweld.

Inputs

0 = off
1 = on
2 = Ent1 collides with nothing
3 = Ent2 collides with nothing
4 = both Ent1 and Ent2 collide with nothing

Outputs

Variables

Useful hints

useful for locking doors.

Example

N/A

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox