警示灯旋转

概述

这是一个简易控制器,用于让警示灯旋转。它会检测警示灯是否开启,一旦开启就自动让灯旋转。


文件信息

文件名 beaconSpin.lua
路径 /lua/vehicle/controller/beaconSpin.lua
类型 辅助功能
使用方式 多个对象

JBeam 属性

number
type
320
default
警示灯的旋转速度
string
type
beaconspin
default
控制旋转的电路名称


用法示例

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

上一次修订: 六月 2, 2026

还有其他问题?

加入我们的 Discord 服务器
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.