Due to increasing spam attacks, forum registrations are currently paused to keep our community safe and spam-free. Come hang out and stay connected with us on the SimHub Discord: https://discord.com/invite/nBBMuX7!
Catch you on Discord — and thanks for understanding!
Catch you on Discord — and thanks for understanding!
Notifications
Clear all
Topic starter
23/05/2021 2: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 7: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')
This post was modified 4 years ago 4 times by TBS_66