Summary
Simple controller to make a beacon light spin. This controller watches for the lightbar being active to start the spin.
File Info
Filename | beaconSpin.lua |
Path | /lua/vehicle/controller/beaconSpin.lua |
Type | Auxiliary |
Multiple Uses | Supported |
JBeam Properties
Name
Default
Unit
Description
Name
spinSpeed
Default
320
Unit
number
Description
The speed with which the beacon is spinning
Name
electricsName
Default
beaconpin
Unit
string
Description
Which electrics name to use for the spin value
Example Usage
"controller": [
["fileName"],
["beaconSpin"]
],
"beaconSpin": {
"spinSpeed":250,
}