Coordinating Images via JSON file Dropdown Manu Control
Hi I have this question about how can I get the "Logo.png" coordinates via "TEAM" (ANGEL ALLIANCE) to show the image using Dropdown Menu Control.
I'm currently using the "TN" for it's value 1-16 teams and each number coordinates with a specific logo.
[
{
"RANK": "1st",
"TEAM": "ANGEL ALLIANCE",
"KP": 158,
"WWCD": 8,
"TOTAL": 265,
"TN": 1
},but the problem is all of the data that I'm using are automatically gathered but I have to jump in the script and manually put "TN" : 1-16 for the "Logo.png" in the Dropdown Menu Control to coordinate it.
Here's the layout

The Dropdown Menu Control

team = thisComp.layer("Control").effect("TEAMS")("Menu").value;
if (team == index - 1) {
100
} else {
0;
}Thank you very much for your time.