ultimate11
Active Member
- Reaction score
- 25
So ?I have this code that is supossed to calculate the players top based on players overall score.It work fine if players score arent equal.
I realy do have a Brain Storm can anyone bring knowleadge to my mind? PLS
Trigger:
- For each (Integer A) from 2 to 5, do (Actions)
- Loop - Actions
- Set Score_total[(Integer A)] = ((Player((Integer A))) Total Overall Score)
- //////this isnt in loop dont know why it show here so....
- Player Group - Pick every player in PPL_gr and do (Actions)
- Loop - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- Set Score = Score_total[((Integer A) + 1)]
- Set B = ((Integer A) + 1)
- For each (Integer B) from 1 to 4, do (Actions)
- Loop - Actions
- Set C = (C + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Score Greater than or equal to Score_total[((Integer B) + 1)]
- Then - Actions
- Set Rank<b> = (Rank<b> + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- C Equal to 4
- Then - Actions
- If (Rank<b> Equal to 4) then do (Set Top[1] = (Player(B))) else do (Do nothing)
- If (Rank<b> Equal to 3) then do (Set Top[2] = (Player(B))) else do (Do nothing)
- If (Rank<b> Equal to 2) then do (Set Top[3] = (Player(B))) else do (Do nothing)
- If (Rank<b> Equal to 1) then do (Set Top[4] = (Player(B))) else do (Do nothing)
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- Loop - Actions
- Loop - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- </b></b></b></b></b></b>
- Loop - Actions
I realy do have a Brain Storm can anyone bring knowleadge to my mind? PLS