Dashboard help - co...
 
Notifications
Clear all

Dashboard help - colour change based on tyre compound

1 Posts
1 Users
0 Reactions
23 Views
(@mattevans111)
Active Member
Joined: 4 days ago
Posts: 3
Topic starter  

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!


   
Quote
Topic Tags
Share: