Overlay for ACC to ...
 
Notifications
Clear all

Overlay for ACC to determine the amount of fuel to refill for the last stint

1 Posts
1 Users
0 Reactions
1,099 Views
(@blech)
Active Member
Joined: 3 years ago
Posts: 2
Topic starter  

Hi Guys!

I'm working on a small overlay, which shall determine the amount of fuel to refill to get to the finish line. 
The issue is: The number of laps of a race depends on the remaining session time, the leader pace and its track position.

I wanted to write a function in javascript, but there is no property that allows me to extract the lap times of the leader or his position. How is it possible that SimHub is able to depict the leaderboard (there are all necessary information for my issue)?

Is there an option to write a javascript function in a text component and get access to the text of a different component (e.g. leaderboard)?

Thanks a lot for your help!

Best, Jakob


   
Quote
Share: