Summary
The trailer feet controller is used to automatically deploy a trailer’s jack when it is disconnected, and retract it is connected.
File Info
Filename | trailerFeet.lua |
Path | /lua/vehicle/controller/trailerFeet.lua |
Type | Auxiliary |
Usage type | Multiple |
JBeam Properties
string
type
feet
default
The name electrics that will be used to trigger feet extension.
Public Functions
Function name
Parameters
Description
Function name
onCouplerDetached
Parameters
nodeId, obj2id, obj2nodeId
Description
Activates when the coupler gets detached.
Function name
onCouplerAttached
Parameters
nodeId, obj2id, obj2nodeId
Description
Activates when the coupler gets attached.
Example Usage
"controller": [
["fileName"],
["trailerFeet"],
],