Reverse Warn

Summary

The reverse warn controller will play a sound, usually a repeating beeping sound, when the vehicle is in reverse gear.

This is mostly used on heavy vehicles like trucks, buses and heavy machinery.


File Info

Filename reverseWarn.lua
Path /lua/vehicle/controller/reverseWarn.lua
Type Auxiliary
Usage type Multiple (Not useful)

JBeam Properties

string
type
reverse
default
The name of the electrics that will trigger the sound.
string
type
event:>Vehicle>Electrics>Reverse>Beep_01
default
The sound clip that will play when reversing.
number
type
1
default
Volume modifier of the sound clip.
string
type
The id of the node that will be used as the sound emitter


Example Usage


"controller": [
    ["fileName"],
    ["reverseWarn", {"beepLoopName":"event:>Vehicle>Electrics>Reverse>Beep_04", "soundNode:": ["ac1r"]}],
],
Last modified: December 18, 2021

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.