Controller that can be used to lock a given set of brake lines to help with burnouts. The state of locking can be anything from unpressured to fully pressured depending on setup and usage.

File Info

Filename lineLock.lua
Path /lua/vehicle/controller/lineLock.lua
Multiple Usage Supported / Not useful

Jbeam Properties

Name Default Unit Description
lockedLines nil array<string> Array of wheelnames whose brake lines get locked upon activating the line lock
electricsName linelock string The electrics name the lineLock controller listens for to get activated

Public functions

Function name Parameters Description
setLineLock(value) number Activates or deactivates the line lock
toggleLineLock()   Toggles between activated and deactivated line lock

Example Usage

Controller setup

"controller": [
"lineLock": {