Dashboard

Properties, events and actions relating to dashboard functionality

Properties

Dashboard Display Unit Metric

TruckSimulatorPlugin.Dashboard.DisplayUnitMetric

A property that can be toggled by the SwitchDisplayUnit action (documented below). Switches between True and False so that you can have aspects of your dashboard switch between imperial and metric units. This becomes especially useful in Euro Truck Simulator when you travel in/out of the UK.

Example:

if([TruckSimulatorPlugin.Dashboard.DisplayUnitMetric],
	[DataCorePlugin.GameData.NewData.SpeedKmh],
	[DataCorePlugin.GameData.NewData.SpeedMph]
)

This will show your current speed in kilometres per hour when the "DisplayUnitMetric" is True, otherwise you'll see your speed in miles per hour.

Actions

Switch Display Unit

Trigger this action to switch the property of DisplayUnitMetric.

Last updated