How to set a value ...
 
Notifications
Clear all

How to set a value to a property in a dashboard

1 Posts
1 Users
0 Likes
352 Views
(@kremi329)
New Member
Joined: 1 year ago
Posts: 1
Topic starter  

Hello,

I am trying to put the current <speedlimit> from Eurotrucs into the <cruisecontrol> value as
the speedlimit changes.

==================================================================

In <NCalc Formula values I found :

// (Current speedlimit in km/h)

[GameRawData.NavigationValues.SpeedLimit.Kph]

// (Current cruise-controll speedin km/h)

[GameRawData.TruckValues.CurrentValues.DashboardValues.CruiseControlSpeed.Value]

How do I set the current speedlimit into the cruisecontrol variable, something like < cruisecontrol = speedlimit >

I tried [GameRawData.TruckValues.CurrentValues.DashboardValues.CruiseControlSpeed.Value] = [GameRawData.NavigationValues.SpeedLimit.Kph]
but that didn't work

===========================================================================================

Hope you can help me,

Koos from The Netherlands


   
Quote
Topic Tags
Share: