Line Lock

Summary

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
Type Auxiliary
Usage type Multiple (Not useful)

JBeam Properties

array(string)
type
Array of wheelnames whose brake lines get locked upon activating the line lock.
string
type
The electrics name the lineLock controller listens for to get activated.


Public Functions

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

Example Usage

"controller": [
  ["fileName"],
  ["lineLock", {"lockedLines":["RR","RL"]}]
],

Last modified: December 18, 2021

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.