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: 18/12/2021 14:51

Any further questions?

Join our discord