Beacon Spin

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 Usage Supported

Jbeam Properties

Name Default Unit Description
spinSpeed 320 number The speed with which the beacon is spinning
electricsName beaconspin string Which electrics name to use for the spin value

Example Usage

"controller": [
  ["fileName"],
  ["beaconSpin"]
],
"beaconSpin": {
  "spinSpeed":250,
}