PDA

View Full Version : Livetext: Blank data fields



Lee-AVP
11-08-2013, 11:45 AM
Okay, so we have leader data coming in to a text file via RMonitor (I'll update that thread once the software is out of beta). Presents a new problem:

Some races have 12 drivers, some races have 4 drivers. I want to build one scalable graphic for our leaderboard, but if the race only has four drivers, %pos5lastname% %pos6lastname& etc come up on the screen.

Any way to make these blank if no data, instead of key name if no data??

adebats
11-08-2013, 04:18 PM
We ended up writing software that created the background graphic and the text on top - worked quite well actually. We used it for a starting grid and if there was nodata then it pointed to a blank graphic in the variable name but if there was data then it pointed to the graphic (which was always the same name but the graphic was regenerated by the other software)..

118063