Here is the concept and below is my script.
If the
sum of
total points for Blue Team is greater than the
sum of the
total points Yellow Team then the Yellow team gets 0 points and the Winner is Blue and receives 1 point
If the
sum of
total points for Blue Team is less than the
sum of the
total points Yellow Team then the Blue Team gets 0 pts and the Winner is Yellow and receives 1 point
here is the expression I wrote
Mission_Score_Card
> b_g1_wins > On User input
if (input.b_g1_pts < input.y_g1_pts)
{
input.b_g1_wins = 1;
input.y_g1_wins = 0;
}
Mission_Score_Card
> y_g1_wins > On User input
if (input.b_g1_pts > input.y_g1_pts)
{
input.b_g1_wins = 0;
input.y_g1_wins = 1;
}
Mission_Score_Card
> g1_winner > On User input
if (input.b_g1_pts < input.y_g1_pts)
{
input.g1_winner = input.b_TID_msc;
}
else if (input.b_g1_pts > input.y_g1_pts)
{
input.g1_winner = input.y_TID_msc;
}
Thank you so much for your help.