Notifications
Clear all
Topic starter
23/05/2021 1:00 pm
I haven’t been able to find an example where a formula within a Leaderboard repeating row references the current row’s data rather than referencing the row number explicitly.
What I’m trying to accomplish: if the current row’s best lap time is the same as the session’s best lap time then color the row's best lap time text purple otherwise color it white.
This topic was modified 4 years ago 2 times by TBS_66
Topic starter
21/06/2021 6:28 pm
SOLVED:
With the help of @romainrob "RSC - iRacing Extra Properties" plugin:
if(prop('IRacingExtraProperties.iRacing_Leaderboard_Driver_' + format((repeatindex()-1),'00') + '_BestLapTime')= [DataCorePlugin.GameData.NewData.BestLapOpponent.BestLapTime], '#FFFF00FF', '#FFFFFFFF')