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 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,
}

Page created: 18 March 2021, at 10:02
Last modified: 25 August 2021, at 17:09

Any further questions?

Join our discord