Notifications
Clear all
Projects
1
Posts
1
Users
0
Reactions
23
Views
Topic starter
27/03/2025 5:02 pm
Hi, I'm trying to create a dashboard where the text changes colour based on what tyre compound is on the car.
I started with this below, but in AMS2 the tyre compounds are 'soft slick' rather than 'soft', the issue I then have is that the formula doesnt like the space and I can't work out how to put it in quote marks etc to make it work...
if([GameRawData.mTyreCompound01.value]=soft,'red',if([GameRawData.mTyreCompound01.value]=medium,'yellow',if([GameRawData.mTyreCompound01.value]=hard,'white',if([GameRawData.mTyreCompound01.value]=wet,'aqua','orange'))))
any advice much appreciated!
Also if anyone has the full list of tyre compounds incase its a longer list than, soft slick, medium slick, hard slick and wet!