Hello everyone.
im fairly new to creating dashboards and I already played around and watched some tutorial.
But I can’t get the delta for the optimal lap time from iracing.
which property is it? Or how can I extract it?
thank you in advance
Hi, I don't know much about making dashboards, did mine around a year ago. I use it in Assetto Corsa, so I don't know if it works in Iracing.
if(timespantoseconds([PersistantTrackerPlugin.AllTimeBest])<5,'-',
if([DataCorePlugin.GameData.NewData.IsInPitLane]>0,'-',
if([PersistantTrackerPlugin.AllTimeBestLiveDeltaSeconds]>30 or [PersistantTrackerPlugin.AllTimeBestLiveDeltaSeconds]<-30 or timespantoseconds([PersistantTrackerPlugin.AllTimeBest])=0,'-.--',(isnull([PersistantTrackerPlugin.AllTimeBestLiveDeltaSeconds],'-') >=0?'+':'')+format(isnull([PersistantTrackerPlugin.AllTimeBestLiveDeltaSeconds],'-') ,'0.000'))))
That's what I use to show delta to fastest lap I've ever driven.
Hope it helps