The Idea is that the player will always receive their correct player color (they are allowed to pick in the lobby) this is how its done right now
is there a way to make it go thru the players and set their color as the one they picked in lobby without having to write it out that long way
is there a way to make it go thru the players and set their color as the one they picked in lobby without having to write it out that long way
-
Set The Strings Variables
-

Events
-

Conditions
-

Actions
-


-------- Colors Array --------
-


Set colorcode[1] = |cffff0000
-


Set colorcode[2] = |cff0000ff
-


Set colorcode[3] = |cff00ffff
-


Set colorcode[4] = |cffa020f0
-


Set colorcode[5] = |cffffff00
-


Set colorcode[6] = |cffee9a00
-


Set colorcode[7] = |cff00cd00
-


Set colorcode[8] = |cffdb7093
-


Set colorcode[9] = |cff7f7f7f
-


Set colorcode[10] = |cff87ceeb
-


Set colorcode[11] = |cff006400
-


Set colorcode[12] = |cff804000
-


For each (Integer A) from 1 to 12, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Color of (Player((Integer A)))) Equal to Red
-
-





Then - Actions
-






Set colorrealpercent1[(Integer A)] = 100.00
-






Set colorrealpercent2[(Integer A)] = 0.00
-






Set colorrealpercent3[(Integer A)] = 0.00
-






Set colorcodeplayer[(Integer A)] = |cffff0000
-
-





Else - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Color of (Player((Integer A)))) Equal to Blue
-
-







Then - Actions
-








Set colorrealpercent1[(Integer A)] = 0.00
-








Set colorrealpercent2[(Integer A)] = 0.00
-








Set colorrealpercent3[(Integer A)] = 100.00
-








Set colorcodeplayer[(Integer A)] = |cff0000ff
-
-







Else - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










(Color of (Player((Integer A)))) Equal to Teal
-
-









Then - Actions
-










Set colorrealpercent1[(Integer A)] = 0.00
-










Set colorrealpercent2[(Integer A)] = 100.00
-










Set colorrealpercent3[(Integer A)] = 100.00
-










Set colorcodeplayer[(Integer A)] = |cff00ffff
-
-









Else - Actions
-










If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-











If - Conditions
-












(Color of (Player((Integer A)))) Equal to Purple
-
-











Then - Actions
-












Set colorrealpercent1[(Integer A)] = 60.00
-












Set colorrealpercent2[(Integer A)] = 0.00
-












Set colorrealpercent3[(Integer A)] = 60.00
-












Set colorcodeplayer[(Integer A)] = |cffa020f0
-
-











Else - Actions
-












If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-













If - Conditions
-














(Color of (Player((Integer A)))) Equal to Yellow
-
-













Then - Actions
-














Set colorrealpercent1[(Integer A)] = 100.00
-














Set colorrealpercent2[(Integer A)] = 100.00
-














Set colorrealpercent3[(Integer A)] = 0.00
-














Set colorcodeplayer[(Integer A)] = |cffffff00
-
-













Else - Actions
-














If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-















If - Conditions
-
















(Color of (Player((Integer A)))) Equal to Orange
-
-















Then - Actions
-
















Set colorrealpercent1[(Integer A)] = 100.00
-
















Set colorrealpercent2[(Integer A)] = 50.00
-
















Set colorrealpercent3[(Integer A)] = 0.00
-
















Set colorcodeplayer[(Integer A)] = |cffee9a00
-
-















Else - Actions
-
















If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-

















If - Conditions
-


















(Color of (Player((Integer A)))) Equal to Green
-
-

















Then - Actions
-


















Set colorrealpercent1[(Integer A)] = 0.00
-


















Set colorrealpercent2[(Integer A)] = 100.00
-


















Set colorrealpercent3[(Integer A)] = 0.00
-


















Set colorcodeplayer[(Integer A)] = |cff00cd00
-
-

















Else - Actions
-


















If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



















If - Conditions
-




















(Color of (Player((Integer A)))) Equal to Pink
-
-



















Then - Actions
-




















Set colorrealpercent1[(Integer A)] = 100.00
-




















Set colorrealpercent2[(Integer A)] = 50.00
-




















Set colorrealpercent3[(Integer A)] = 50.00
-




















Set colorcodeplayer[(Integer A)] = |cffdb7093
-
-



















Else - Actions
-




















If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





















If - Conditions
-






















(Color of (Player((Integer A)))) Equal to Gray
-
-





















Then - Actions
-






















Set colorcodeplayer[(Integer A)] = |cff7f7f7f
-






















Set colorrealpercent1[(Integer A)] = 50.00
-






















Set colorrealpercent2[(Integer A)] = 50.00
-






















Set colorrealpercent3[(Integer A)] = 50.00
-
-





















Else - Actions
-






















If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-























If - Conditions
-
























(Color of (Player((Integer A)))) Equal to Light Blue
-
-























Then - Actions
-
























Set colorrealpercent1[(Integer A)] = 50.00
-
























Set colorrealpercent2[(Integer A)] = 50.00
-
























Set colorrealpercent3[(Integer A)] = 100.00
-
























Set colorcodeplayer[(Integer A)] = |cff87ceeb
-
-























Else - Actions
-
























If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-

























If - Conditions
-


























(Color of (Player((Integer A)))) Equal to Dark Green
-
-

























Then - Actions
-


























Set colorrealpercent1[(Integer A)] = 0.00
-


























Set colorrealpercent2[(Integer A)] = 50.00
-


























Set colorrealpercent3[(Integer A)] = 0.00
-


























Set colorcodeplayer[(Integer A)] = |cff006400
-
-

























Else - Actions
-


























If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



























If - Conditions
-




























(Color of (Player((Integer A)))) Equal to Brown
-
-



























Then - Actions
-




























Set colorrealpercent1[(Integer A)] = 50.00
-




























Set colorrealpercent2[(Integer A)] = 0.00
-




























Set colorrealpercent3[(Integer A)] = 0.00
-




























Set colorcodeplayer[(Integer A)] = |cff804000
-
-



























Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-


Custom script: call DestroyTrigger( GetTriggeringTrigger() )
-
-