Fuel Calculator and Array Calculations
Posted: Wed May 22, 2024 12:27 am
Hello Everyone,
I am writing asking for a bit of help, because I am working on a fuel calculator tool for iRacing.
I managed to get the stat_end of the fuel level for each lap (you can find the screenshot attached!)
But I am unable, from my stat_end data, to get the fuel consumption of the lap.
If anyone could give a little help, it would be very much appreciated.
Thank you everyone !
PS : Here is the code I used
Fuel in tank after end of each lap :
stat_end('Fuel Level' [l], 1, range_change("Outings:Laps"))
I am writing asking for a bit of help, because I am working on a fuel calculator tool for iRacing.
I managed to get the stat_end of the fuel level for each lap (you can find the screenshot attached!)
But I am unable, from my stat_end data, to get the fuel consumption of the lap.
If anyone could give a little help, it would be very much appreciated.
Thank you everyone !
PS : Here is the code I used
Fuel in tank after end of each lap :
stat_end('Fuel Level' [l], 1, range_change("Outings:Laps"))