Hello,
My goal is to create something like: =IF([DataCorePlugin.GameData.NewData.SessionTimeLeft] = "00:00:00", [RemainingLaps], [DataCorePlugin. GameData. NewData. SessionTimeLeft])
If the Session time left value is 00:00:00 show the property remaining laps, in other any case show the property SessionTimeLeft
Could you provide me some other alternative?
Thanks!!!!
did you get it working? its probably IF([DataCorePlugin.GameData.NewData.SessionTimeLeft] == "00:00:00", [RemainingLaps], [DataCorePlugin. GameData. NewData. SessionTimeLeft])
or whatever the datatype is on SessionTimeLeft, should work if it doesnt show errors below
@crowtheshaman Hello,
It shows the following output:
Expression error:line 1:57 no viable alternative at character '"'
Thanks anyway for the help
IF(timespantoseconds([DataCorePlugin.GameData.SessionTimeLeft]) == 0, [RemainingLaps], [DataCorePlugin.GameData.SessionTimeLeft])
seems to work