Damage
Properties, events and actions relating to damage of your truck
Properties
Damage Wear Warning
TruckSimulatorPlugin.Damage.WearWarning
Returns True
when your truck's overall average damage is above a specified threshold. The threshold can be customised in the plugin's settings.
Damage Wear Average
TruckSimulatorPlugin.Damage.WearAverage
Calculates the average of the damage across the main truck body, not just the chassis.
Events
Damage Increase
Whenever the value of TruckSimulatorPlugin.Damage.WearAverage
increases, the plugin will emit an event named DamageIncrease
.
Last updated